Re: getfattr: Argument list too long
Andreas Gruenbacher <[email protected]> Mon, 6 Jun 2005 14:35:04 +0200
| Newsgroups | gmane.linux.file-systems.acl.devel |
|---|---|
| Organization | SUSE LINUX Products GMBH |
| Message-ID | <[email protected]> |
Hello Björn, On Friday 03 June 2005 15:47, Bjoern JACKE wrote: > Hi, > > I was just about to do some ACL/XATTR limit tests and found this > problem in getfattr. > > I run this simple test: > > for i in `seq 1 10000` ; do setfattr --name=user.fred$i -h --value=foo > acltest2 ; echo $i >>/dev/stderr; getfattr acltest2 >/dev/null ; done > 2>>err > > I get with >= 4761 xattr entries an error from getfattr: > > acltest2: Argument list too long 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? Thanks, Andreas. _______________________________________________ acl-devel mailing list [email protected] http://acl.bestbits.at/mailman/listinfo/acl-devel