Files
apfstests/tests/generic/344.out
T
Jan Kara 9e8b4e2755 generic: Test races between mmap and normal write for prefaulted ranges
Add test which spawns two threads both writing one file via mmap which
has been previously prefaulted by reading. Do the same test when one
thread accesses the file via mmap and the other one via normal write.
This is mainly interesting to uncover races in DAX fault handling and
between DAX fault handling and write path.

Signed-off-by: Jan Kara <jack@suse.cz>
Acked-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
2016-05-09 10:54:25 +10:00

74 lines
1.4 KiB
Plaintext

QA output created by 344
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: 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: ftruncate test...
INFO: sz = 268435456
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: 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: ftruncate test...
INFO: sz = 268435456
INFO: thread 0 created
INFO: thread 1 created
INFO: 0 error(s) detected