generic: check the behavior of programs opening a lot of O_TMPFILE files

Create a test (+ helper program) that opens as many unlinked files as it
possibly can on the scratch filesystem, then closes all the files at
once to stress-test unlinked file cleanup.  Add an xfs-specific test to
make sure that the fallback code doesn't bitrot.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Darrick J. Wong
2019-02-13 12:49:05 -08:00
committed by Eryu Guan
parent f98cc2256b
commit e6703b903a
13 changed files with 483 additions and 1 deletions
+2
View File
@@ -498,3 +498,5 @@
498 dangerous_fuzzers dangerous_norepair
499 auto quick
500 auto quick mkfs
501 auto quick unlink
502 auto quick unlink