EA and accounting

"Jochen Tuchbreiter" <[email protected]> Mon, 4 Apr 2005 13:34:21 +0200
Newsgroups gmane.linux.file-systems.acl.devel
Message-ID <[email protected]>
Hello,

is there an easy way (in terms of patching) to exclude extended attributes
from quota-accounting? Has anybody done such a patch yet? I just skimmed
through the ea-patch and wondered if there is a "magic paragraph" in
ext3_xattr_set_handle one can exclude to prevent accounting of the ea-block.
I have no idea if quota is even solved at the same level of abstraction as
ea, so please don't hit me for asking ;)

Underlying problem: I need to migrate a user base from non-acl ext3 to ext3
with acls, simultaneously setting a lot of acls. This will increase disk
usage as counted by quota (since eas need an additional block). Since a lot
of the users are quite close to their limit this will push them beyond it. I
really do not want to increase the quotas for the users, since it will be
very hard to do this in a "fair" way, as additional usage depends on the
number of files a user has. Using a filesystem with a smaller block size
would work to some extent but that would mean that I'd have to copy all of
the data which is not a nice option.


best regards,
Jochen

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