]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
ext4/045: use the large_dir feature to fix test failures with a 1k block size
authorTheodore Ts'o <tytso@mit.edu>
Tue, 11 Jun 2024 22:26:58 +0000 (18:26 -0400)
committerZorro Lang <zlang@kernel.org>
Fri, 21 Jun 2024 16:38:24 +0000 (00:38 +0800)
commit0ae5d5d77ab14e8077ddb54d2063a66801f529af
tree377572027698ec9bd465b85a9bb7439bd5f0096d
parent0d4d97d9dca200a3972ec036f78bfe9747ffa7c2
ext4/045: use the large_dir feature to fix test failures with a 1k block size

If the file system has a 1k blocksize, this test will fail without the
large_dir file system, because the depth of the dir_index tree needs
to be greater than 2.  So enable the large_dir unconditionally, which
also gives us better test coverage of the large_dir code paths.

As a result of requiring large_dir, this test will get skipped if the
kernel is older than 4.13 --- which was released in 2017; and that
seems to be reasonable at this point.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/ext4/045