]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs: test correct propagation of rt extent size hints on rtinherit dirs
authorDarrick J. Wong <djwong@kernel.org>
Wed, 15 Sep 2021 23:42:20 +0000 (16:42 -0700)
committerEryu Guan <guaneryu@gmail.com>
Sun, 26 Sep 2021 13:04:03 +0000 (21:04 +0800)
commitb5e0b5f216da1f490abc95cc5fd12cbfc9b4757a
tree72cfb4c9eb2f5e8362592d39fc65da529094b8e1
parentdf4ffa35bf5a813603cc8042889b4d7941ccc841
xfs: test correct propagation of rt extent size hints on rtinherit dirs

This is a regression test for the following fixes:

 xfs: standardize extent size hint validation
 xfs: validate extsz hints against rt extent size when rtinherit is set
 mkfs: validate rt extent size hint when rtinherit is set

These patches fix inadequate rtextsize alignment validation of extent
size hints on directories with the rtinherit and extszinherit flags set.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/xfs/419 [new file with mode: 0755]
tests/xfs/419.out [new file with mode: 0644]
tests/xfs/540 [new file with mode: 0755]
tests/xfs/540.out [new file with mode: 0644]