Re: getfattr: Argument list too long

Dave Kleikamp <[email protected]> Mon, 06 Jun 2005 08:27:36 -0500
Newsgroups gmane.linux.file-systems.acl.devel
Message-ID <1118064456.8120.14.camel@localhost>
On Mon, 2005-06-06 at 14:35 +0200, Andreas Gruenbacher wrote:

> It seems the list of names exceeds 64K, so listxattr cannot return it anymore. 
> The same problem exists on reiserfs as well, and most likely also on jfs. 
> This problem cannot be handled at the VFS layer, and it's probably slow to 
> handle in the setxattr inode operation. Jeff, Nathan, Dave?

I only looked at jfs, but it would be very simple for jfs to enforce the
64K limit in setxattr.  It doesn't do that currently, but it would be
easy to fix.

jfs would be happy to ignore the 64K limit altogether, but the vfs layer
changes jfs's return code from -ERANGE to -E2BIG.  The right thing to do
would probably be to enforce the 64K limit in setxattr.

> Thanks,
> Andreas.
-- 
David Kleikamp
IBM Linux Technology Center

_______________________________________________
acl-devel mailing list
[email protected]
http://acl.bestbits.at/mailman/listinfo/acl-devel