diff options
author | Filipe Manana <fdmanana@suse.com> | 2023-12-05 16:39:20 +0000 |
---|---|---|
committer | Zorro Lang <zlang@kernel.org> | 2023-12-10 21:38:00 +0800 |
commit | ed058f1c64746b32e2786bf344ae1ff5fd78dfb0 (patch) | |
tree | f54efb3e64cab64f83ffd1f622b42f24705437cb /.gitignore | |
parent | b05c808ce4a4686b40c4e0b5029cb889c39f3856 (diff) |
generic: test reading a large directory while renaming its files
Test that on a fairly large directory if we keep renaming files while
holding the directory open and doing readdir(3) calls, we don't end up
in an infinite loop.
This exercise a bug that existed in btrfs and was fixed in kernel 6.5
by commit 9b378f6ad48c ("btrfs: fix infinite directory reads").
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -121,6 +121,7 @@ tags /src/punch-alternating /src/pwrite_mmap_blocked /src/randholes +/src/readdir-while-renames /src/rename /src/renameat2 /src/resvtest |