]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
aio: add regression test race between write and fcntl
authorDmitry Monakhov <dmonakhov@openvz.org>
Mon, 10 Nov 2014 07:06:19 +0000 (18:06 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 10 Nov 2014 07:06:19 +0000 (18:06 +1100)
commit33e08893468e35eb1fc2b5262d2c6e4b609942c4
tree555da3399fca26370a95e4745490dbefaaec32b3
parentfd730cff4433755d5a2e7f84cfae8fc2a97e5a47
aio: add regression test race between write and fcntl

perform AIO-DIO and fcntl(F_SETFL) concurently. Unaligned AIO likely
results in synchronization which makes the race window wider.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
src/aio-dio-regress/aio-dio-fcntl-race.c [new file with mode: 0644]
tests/generic/036 [new file with mode: 0755]
tests/generic/036.out [new file with mode: 0644]
tests/generic/group