Re: Maximum number of acls on directory on ext3: 28? (bs does not matter, 1024/2048/4096 tested)

"Jochen Tuchbreiter" <[email protected]> Sun, 23 Jan 2005 17:10:39 +0100 (CET)
Newsgroups gmane.linux.file-systems.acl.devel
Message-ID <[email protected]>
For the sake of completeness the results of the changes:

[cut]

>> If I try to set more than 28 acl-entries of one type on any given
>> directory
>> setfacl returns:
>> setfacl: /tmp/aclnotest: Invalid argument

[cut]

>> Is this expected behaviour or does it look like a problem? Can I somehow
>> increase this limit? (ie: Blocksize is not the prob, I need to increase
>> some kernel-variable or something).

> It's an arbitrary limit; see EXT3_ACL_MAX_ENTRIES in
> include/linux/ext3_acl.h.
> Increase this setting, or take it out altogether (and remove the check in
> the
> code). I'll request to remove the limit in 2.6 soon, too.

Ok, I increased this to some ridiculus high value and was able to add
about 250 entries with block size 2048 and about 500 entries with block
size 4096. Whenever I reach the block limit I get

setfacl: /acltest/number: No space left on device

as you suggested off-list.

So: Works like a charm for me.

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