]> git.karo-electronics.de Git - karo-tx-linux.git/commit
GFS2: Increase the max number of ACLs
authorBob Peterson <rpeterso@redhat.com>
Wed, 19 Mar 2014 13:10:21 +0000 (09:10 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 19 Mar 2014 15:16:24 +0000 (15:16 +0000)
commitb00263d1cafdd667de56cde47f35d5ee8dd37e14
tree722a601ef4a74054a2ca543bdd343eaf536a1320
parent428fd95d859b24fea448380fa21ad6d841b34241
GFS2: Increase the max number of ACLs

This patch increases the maximum number of ACLs from 25 to 300 for
a 4K block size. The value is adjusted accordingly if the block size
is smaller. Note that this is an arbitrary limit with a performance
tradeoff, and that the physical limit is slightly over 500.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/acl.c
fs/gfs2/acl.h