[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha8-970-gd6270df

Jeremy Allison jra at samba.org
Thu Aug 13 13:40:12 MDT 2009


On Thu, Aug 13, 2009 at 02:35:07PM -0500, Gerald Carter wrote:
> Jeremy,
> 
> > On Thu, Aug 13, 2009 at 10:53:36AM +0200, Stefan (metze) Metzmacher wrote:
> > 
> >> Can we please use an idl based union to store this information?
> > 
> > Actually I'd rather not. I'm getting concerned about EA space,
> > normally we only have 64k available, and we're now using EA
> > space for the security descriptors, which can potentially
> > be quite large. What advantage do you see to doing it this
> > way over individual EA's storing specific metadata ?
> 
> Are the linux docs still correct that this is fs dependent?
> 
>      In the current ext2, ext3 and ext4 filesystem
>      implementations, each extended attribute must fit on a
>      single filesystem block (1024, 2048 or 4096 bytes, depending
>      on the block size  specified  when  the filesystem was created).
> 
>      In  the  XFS  and  reiserfs filesystem implementations, there is
>      no practical limit on the number or size of extended attributes
>      associated with a file,  and  the  algorithms  used  to  store  extended
>      attribute information on disk are scalable.

I don't think this is the case for ext4 but I'd have to look
at the code. I think ext4 is 64k, but I thought it was also
64k for ext3 (I think it'd been fixed a while ago). I'll have
to look in the source code to be sure.

Jeremy.


More information about the samba-technical mailing list