[PATCH] aio example should use O_DIRECT IO
authorJens Axboe <jens.axboe@oracle.com>
Wed, 7 Feb 2007 12:51:22 +0000 (13:51 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 7 Feb 2007 12:51:22 +0000 (13:51 +0100)
Otherwise it isn't async. Since fio defaults to buffered IO now, we need
to correct this example.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
examples/aio-read

index 7300c334c9e32e003de3b10ce95cabc48a17c74c..173a4e1f05f0589db6b9404e0aa92a1414719ee1 100644 (file)
@@ -1,6 +1,7 @@
 ; Read 4 files with aio at different depths
 [global]
 ioengine=libaio
+buffered=0
 rw=randread
 bs=128k
 size=512m