Re: size limit of extended attributes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 30, 2015 at 7:33 AM, Björn JACKE <bj@xxxxxxxxx> wrote:
>
> Hi,
>
> currently there is the hard limit for the size of extended attributes, of
> XATTR_SIZE_MAX set to 65536.
>
> Is there a reason for that limit or can this limit be removed, so that only the
> filesystem stays as a limiting factor here?
>
> In Samba we need to be able to store data in extrended attributes which can be
> much biger thatn 64k. AIX for example supports EAs of 16TB size in JFS2,
> Solaris is able to handle streams like files and also doesn't have special size
> limitations for EAs. Can we get rid of the tiny size limit in Linux also?

It's going to be a real treat watching Samba write a 16TB memory
buffer using the xattr API.

Why can't you work around this by using the xattr as a symlink-like
object that points to the real stored data? That way you also have
available the file semantics that you need in order to write these
large objects.

Trying to squeeze an API for subfiles into the xattr API is a dead end.

Cheers
  Trond
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux