[Samba] acl_xattr vs acl_tdb
Jeremy Allison
jra at samba.org
Fri Mar 26 10:43:51 MDT 2010
On Fri, Mar 26, 2010 at 12:40:49PM -0400, simo wrote:
> On Fri, 2010-03-26 at 12:28 -0400, simo wrote:
> > On Fri, 2010-03-26 at 10:53 -0400, simo wrote:
> > > On Fri, 2010-03-26 at 13:06 +0000, Miguel Medalha wrote:
> > > > > If I remember correctly XFS used to have a size limit of 64KiB per
> > > > > xattr.
> > > > >
> > > >
> > > > What about ext3 & ext4?
> > >
> > > Always IIRC, they should be limited by the inode size, which is 4KiB,
> > > but this information is old, and should be verified for ext4.
> >
> > Ok I just checked.
> > On ext4 the total size of *all* xattrs can't be larger than 4k and some.
> >
> > There is only 1 block you can allocate beyond the file inode.
> >
> > So careful on the amount of data you store in ext4 attrs. If you think
> > you'll have fatty Windows ACLs to store I guess XFS is a better choice
> > right now.
>
> Ah just to add insult to injury, remember that the xattr space is shared
> with selinux labels *and* posix ACLs contents.
>
> So it is a tight spot indeed.
And don't forget the DOS attributes as well :-).
More information about the samba
mailing list