xfs_io '-d' specifies direct IO, not sync IO. Signed-off-by: Wang Sheng-Hui <shhuiw@xxxxxxxxxxx> --- tests/generic/135 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/generic/135 b/tests/generic/135 index 79558f5..2444803 100755 --- a/tests/generic/135 +++ b/tests/generic/135 @@ -63,7 +63,7 @@ $XFS_IO_PROG -f -c 'pwrite -b 4k -S 0x12 0 4k' async_file > /dev/null # create file with sync I/O $XFS_IO_PROG -f -s -c 'pwrite -b 4k -S 0x34 0 4k' sync_file > /dev/null -# create file with sync I/O +# create file with direct I/O $XFS_IO_PROG -f -d -c 'pwrite -b 4k -S 0x56 0 4k' direct_file > /dev/null # create file, truncate and then dirty again -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html