xfs
[Top] [All Lists]

Re: Extended Attributes

To: Mark Feldman <feldmark@xxxxxxxxxxxxxxxxx>
Subject: Re: Extended Attributes
From: Steve Lord <lord@xxxxxxx>
Date: 05 Dec 2001 14:44:59 -0600
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <02a301c17dcc$71d79a00$3a0a010a@feldmark01>
References: <ACD4093EB009D411BC8A009027D7699660A15D@mail.tapeware.com> <1007577855.22718.24.camel@jen.americas.sgi.com> <02a301c17dcc$71d79a00$3a0a010a@feldmark01>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Wed, 2001-12-05 at 14:35, Mark Feldman wrote:
> How about limitations on the total number of EA's per file or the total
> space they can take up per file.  Could I have 200, 64K EA's per file?  500?
> 1000?  10000?

No practical limit - they all need different names of course, the
organization of the entries is almost identical to directories. 
I cannot say we do extensive testing of vast attribute spaces,
there tend never to be more than a handful at the most.

Steve

> 
> Mark
> 
> ----- Original Message -----
> From: "Steve Lord" <lord@xxxxxxx>
> To: "Quang Nguyen (Ngo)" <quang.nguyen@xxxxxxxxxxxx>
> Cc: <linux-xfs@xxxxxxxxxxx>
> Sent: Thursday, December 06, 2001 3:44 AM
> Subject: Re: Extended Attributes
> 
> 
> > On Wed, 2001-12-05 at 12:39, Quang Nguyen (Ngo) wrote:
> > > What are the limitations on extended attributes when calling attr_set()
> and
> > > attr_setf()?  How much space can each node hold, and what are the
> > > side-effects?
> >
> > Each one can hold 64K of data. No side effects really - except it will
> > take a little longer to remove the file.
> >
> > >
> > > Does anyone know if other journaling file systems also support extended
> > > attributes besides XFS?
> >
> > Given there is a patch for ext2, it is not inconceivble that ext3
> > will support them at some point. Reiserfs will probably end up with
> > them, or something like them, Hans liked multiple streams in a file.
> > Not sure about jfs - it may on os2, but probably does not on Linux.
> >
> > Steve
> >
> > >
> > > Thanks,
> > > Quang
> > >
> > >
> > > _____________________________________________________________________
> > > This message has been checked for all known viruses by the
> > > MessageLabs Virus Scanning Service. For further information visit
> > > http://www.messagelabs.com/stats.asp
> > >
> > >
> > > [[HTML alternate version deleted]]
> > --
> >
> > Steve Lord                                      voice: +1-651-683-3511
> > Principal Engineer, Filesystem Software         email: lord@xxxxxxx
> >
-- 

Steve Lord                                      voice: +1-651-683-3511
Principal Engineer, Filesystem Software         email: lord@xxxxxxx


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