Add sample file for surface scan
authorShawn Lewis <shawnlewis@google.com>
Wed, 16 Jan 2008 10:08:03 +0000 (11:08 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 16 Jan 2008 10:08:03 +0000 (11:08 +0100)
Does a write phase and then a verify phase and verifies the written
data.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
examples/surface-scan [new file with mode: 0644]

diff --git a/examples/surface-scan b/examples/surface-scan
new file mode 100644 (file)
index 0000000..ae15846
--- /dev/null
@@ -0,0 +1,23 @@
+; writes 512 byte verification blocks until the disk is full,
+; then verifies written data
+[global]
+thread=1
+bs=4k
+direct=1
+ioengine=sync
+verify=meta
+verify_pattern=0xaa555aa5
+verify_interval=512
+
+[write-phase]
+filename=datafile.tmp  ; or use a full disk, for example /dev/sda
+rw=write
+fill_device=1
+do_verify=0
+
+[verify-phase]
+stonewall
+create_serialize=0
+filename=datafile.tmp
+rw=read
+do_verify=1