mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-08-06 15:07:39 +03:00

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
12 lines
255 B
Makefile
12 lines
255 B
Makefile
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/mv_files
|
|
dist_pkgdata_SCRIPTS = \
|
|
setup.ksh \
|
|
cleanup.ksh \
|
|
mv_files_001_pos.ksh \
|
|
mv_files_002_pos.ksh \
|
|
random_creation.ksh
|
|
|
|
dist_pkgdata_DATA = \
|
|
mv_files.cfg \
|
|
mv_files_common.kshlib
|