xfs
[Top] [All Lists]

Re: Question about extended attributes...

To: Timothy Shimmin <tes@xxxxxxx>
Subject: Re: Question about extended attributes...
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Fri, 1 Aug 2008 22:32:53 +1000
Cc: "Linda A. Walsh" <xfs@xxxxxxxxx>, xfs-oss <xfs@xxxxxxxxxxx>
In-reply-to: <4892B361.9030900@xxxxxxx>
Mail-followup-to: Timothy Shimmin <tes@xxxxxxx>, "Linda A. Walsh" <xfs@xxxxxxxxx>, xfs-oss <xfs@xxxxxxxxxxx>
References: <48925495.7040804@xxxxxxxxx> <4892B361.9030900@xxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Fri, Aug 01, 2008 at 04:55:29PM +1000, Timothy Shimmin wrote:
> Hi Linda,
> 
> Linda A. Walsh wrote:
> > my man page says extended xfs attributes can have 256-byte names
> > with up to 64K of data.
> > 
> > Is there a limit on the number of extended attributes max data size or
> > name size?
> > 
> > I.e. could I have 1000 attributes with 64K of data each?
> > 
> Yep.
> 
> > Is there a strong reason why the file and data sizes were limited to
> > 256/64K?

....

> I'm not sure why 64K was chosen for a value size limit.

Because changes to EAs are journalled. Hence there must be a bound
size limit because log space is limited.

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>