mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
450d833eba
Add test which spawns two threads racing to write to file via mmap and checks the result. This is mainly interesting to uncover races in DAX fault handling. Signed-off-by: Jan Kara <jack@suse.cz> Acked-by: Brian Boylston <brian.boylston@hpe.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
74 lines
1.4 KiB
Plaintext
74 lines
1.4 KiB
Plaintext
QA output created by 340
|
|
|
|
INFO: zero-filled test...
|
|
INFO: sz = 1048576
|
|
INFO: thread 0 created
|
|
INFO: thread 1 created
|
|
INFO: 0 error(s) detected
|
|
|
|
INFO: posix_fallocate test...
|
|
INFO: sz = 1048576
|
|
INFO: thread 0 created
|
|
INFO: thread 1 created
|
|
INFO: 0 error(s) detected
|
|
|
|
INFO: fallocate test...
|
|
INFO: sz = 1048576
|
|
INFO: thread 0 created
|
|
INFO: thread 1 created
|
|
INFO: 0 error(s) detected
|
|
|
|
INFO: ftruncate test...
|
|
INFO: sz = 1048576
|
|
INFO: thread 0 created
|
|
INFO: thread 1 created
|
|
INFO: 0 error(s) detected
|
|
|
|
INFO: zero-filled test...
|
|
INFO: sz = 16777216
|
|
INFO: thread 0 created
|
|
INFO: thread 1 created
|
|
INFO: 0 error(s) detected
|
|
|
|
INFO: posix_fallocate test...
|
|
INFO: sz = 16777216
|
|
INFO: thread 0 created
|
|
INFO: thread 1 created
|
|
INFO: 0 error(s) detected
|
|
|
|
INFO: fallocate test...
|
|
INFO: sz = 16777216
|
|
INFO: thread 0 created
|
|
INFO: thread 1 created
|
|
INFO: 0 error(s) detected
|
|
|
|
INFO: ftruncate test...
|
|
INFO: sz = 16777216
|
|
INFO: thread 0 created
|
|
INFO: thread 1 created
|
|
INFO: 0 error(s) detected
|
|
|
|
INFO: zero-filled test...
|
|
INFO: sz = 268435456
|
|
INFO: thread 0 created
|
|
INFO: thread 1 created
|
|
INFO: 0 error(s) detected
|
|
|
|
INFO: posix_fallocate test...
|
|
INFO: sz = 268435456
|
|
INFO: thread 0 created
|
|
INFO: thread 1 created
|
|
INFO: 0 error(s) detected
|
|
|
|
INFO: fallocate test...
|
|
INFO: sz = 268435456
|
|
INFO: thread 0 created
|
|
INFO: thread 1 created
|
|
INFO: 0 error(s) detected
|
|
|
|
INFO: ftruncate test...
|
|
INFO: sz = 268435456
|
|
INFO: thread 0 created
|
|
INFO: thread 1 created
|
|
INFO: 0 error(s) detected
|