mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
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
This commit is contained in:
committed by
Brian Behlendorf
parent
964c2d69a9
commit
c83ccb3e72
@@ -600,7 +600,7 @@ tests = ['umount_001', 'umountall_001']
|
||||
tags = ['functional', 'mount']
|
||||
|
||||
[tests/functional/mv_files]
|
||||
tests = ['mv_files_001_pos', 'mv_files_002_pos']
|
||||
tests = ['mv_files_001_pos', 'mv_files_002_pos', 'random_creation']
|
||||
tags = ['functional', 'mv_files']
|
||||
|
||||
[tests/functional/nestedfs]
|
||||
|
||||
Reference in New Issue
Block a user