]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
Check O_DIRECT support before testing direct I/O
authorJunho Ryu <jayr@google.com>
Tue, 16 Dec 2014 03:01:06 +0000 (14:01 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 16 Dec 2014 03:01:06 +0000 (14:01 +1100)
commit46a08542e342adff05e0ccfeed69eeec823205e8
tree60f8f7dd935e5da953bf8369241abfca3f900044
parenta5408971602a81f28a2335a74155ad59c493e31a
Check O_DIRECT support before testing direct I/O

Some filesystems do not support O_DIRECT.  Check whether TEST_DIR supports
it by running xfs_io with -d flag.

Signed-off-by: Junho Ryu <jayr@google.com>
Signed-off-by: Dushan Tcholich <dusanc@gmail.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/rc
tests/generic/091
tests/generic/130
tests/generic/133
tests/generic/135
tests/generic/226
tests/generic/263
tests/generic/299
tests/generic/300