common/attr: Reduce MAX_ATTRS to leave some overhead for 64K blocksize master
authorRitesh Harjani <riteshh@linux.ibm.com>
Wed, 21 Jul 2021 05:28:02 +0000 (10:58 +0530)
committerEryu Guan <guaneryu@gmail.com>
Sun, 1 Aug 2021 15:55:33 +0000 (23:55 +0800)
commitc0135a6f045770739389443648cb6a45af05a8b1
treea414a234ba55b3aa3cc16a4bd475e70ff85170d2
parent04d6fca959cf447ba057b86e02a3efed0381aa96
common/attr: Reduce MAX_ATTRS to leave some overhead for 64K blocksize

Test generic/020 fails for ext4 with 64K blocksize.
This adds changes in common/attr for MAX_ATTRS calculations for
ext2|ext3|ext4 along with comments explaining the calculations.

Suggested-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Ritesh Harjani <riteshh@linux.ibm.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
common/attr