]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic: Test races between mmap and normal writes
authorJan Kara <jack@suse.cz>
Mon, 9 May 2016 00:54:10 +0000 (10:54 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 9 May 2016 00:54:10 +0000 (10:54 +1000)
commit96a3ad1630f678b071794ff0ccdc93237930fe42
treec37e608f8a973f88acc60acfe949eed58fb0ad6b
parentea991497f15d34b8ca829d7a0a6b7cb3cc92d805
generic: Test races between mmap and normal writes

Add test which spawns two threads one writing to file via normal write
and one via mmap and checks the result. This is mainly interesting to
uncover races 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>
src/holetest.c
tests/generic/346 [new file with mode: 0644]
tests/generic/346.out [new file with mode: 0644]
tests/generic/group