From: Nathan Scott Subject: Re: What's a realistic size for xattr? Date: Thu, 13 Mar 2008 10:03:05 +1100 Message-ID: <1205362985.15982.89.camel@edge.scott.net.au> References: <200803131106.48181.manningc2@actrix.gen.nz> Reply-To: nscott@aconex.com Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: linux-fsdevel@vger.kernel.org To: Charles Manning Return-path: Received: from prod.aconex.com ([203.89.192.138]:49328 "EHLO postoffice.aconex.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752949AbYCLXdF (ORCPT ); Wed, 12 Mar 2008 19:33:05 -0400 In-Reply-To: <200803131106.48181.manningc2@actrix.gen.nz> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Thu, 2008-03-13 at 11:06 +1300, Charles Manning wrote: > I'm trying to figure out a reasonable approach to implementing xattr in YAFFS. > > From my (limited) knowledge of xattr it seems that in theory you could store a > multi-Mbyte database in xattr, but in practice a smaller size is far more > reasonable. Clearly storing/managing a small blob is going to be a lot > simpler. > > What is the cut off of a reasonable xattr blob size? 1kbytes? 2kbytes?... > XATTR_SIZE_MAX. -- Nathan