Add basic write/read-and-verify example job file
authorJens Axboe <axboe@fb.com>
Thu, 18 Aug 2016 16:03:49 +0000 (10:03 -0600)
committerJens Axboe <axboe@fb.com>
Thu, 18 Aug 2016 16:03:49 +0000 (10:03 -0600)
Signed-off-by: Jens Axboe <axboe@fb.com>
examples/basic-verify.fio [new file with mode: 0644]

diff --git a/examples/basic-verify.fio b/examples/basic-verify.fio
new file mode 100644 (file)
index 0000000..7871aeb
--- /dev/null
@@ -0,0 +1,12 @@
+# The most basic form of data verification. Write the device randomly
+# in 4K chunks, then read it back and verify the contents.
+[write-and-verify]
+rw=randwrite
+bs=4k
+direct=1
+ioengine=libaio
+iodepth=16
+verify=crc32c
+# Use /dev/XXX. For running this on a file instead, remove the filename
+# option and add a size=32G (or whatever file size you want) instead.
+filename=/dev/XXX