ext4: add test to validate the large_dir feature
authorTheodore Ts'o <tytso@mit.edu>
Mon, 23 Aug 2021 20:22:31 +0000 (16:22 -0400)
committerEryu Guan <guaneryu@gmail.com>
Sun, 29 Aug 2021 13:00:04 +0000 (21:00 +0800)
commitf4660739feddf1d4717530a83c96f44135417fe0
tree26a1a3ae48a7effc943927882af9b946e4f8574c
parent5f8179ce8b001327e0811744dbfdb90a8e934f9c
ext4: add test to validate the large_dir feature

The ext4 large_dir feature supports a directory hash tree with a depth
greater than 2.  Reuse the dirstress program to create a sufficiently
large directory in order to exercise the large_dir code paths.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
src/dirstress.c
tests/ext4/052 [new file with mode: 0755]
tests/ext4/052.out [new file with mode: 0644]