[Samba] acl_xattr vs acl_tdb
simo
idra at samba.org
Fri Mar 26 10:40:49 MDT 2010
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.
Simo.
--
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>
More information about the samba
mailing list