mirror_zfs/tests/runfiles
Antonio Russo c38d702330 Add test with two kinds of file creation orders
Data loss was identified in #7401 when many small files were copied.
This adds a reproducer for this bug and other similar ones: randomly
generate N files. Then, listing M of them by `ls -U` order, produce
those same files in a directory of the same name.

This triggers the bug consistently, provided N and M are large enough.
Here, N=2^16 and M=2^13.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Antonio Russo <antonio.e.russo@gmail.com>
Closes #7411
2018-05-07 17:19:57 -07:00
..
linux.run Add test with two kinds of file creation orders 2018-05-07 17:19:57 -07:00
Makefile.am Fix "file is executable, but no shebang" warnings 2018-05-07 17:19:57 -07:00
perf-regression.run OpenZFS - Performance regression suite for zfstest 2016-09-08 16:18:28 -07:00