summaryrefslogtreecommitdiff
path: root/fio.c
diff options
context:
space:
mode:
authorJens Axboe <jaxboe@fusionio.com>2011-01-11 22:16:49 +0100
committerJens Axboe <jaxboe@fusionio.com>2011-01-11 22:16:49 +0100
commit7d9fb455aadc0c0363489591775496f27f4a560a (patch)
tree10f99c7ffb0b3a123c5ea4cc7898e80213b370da /fio.c
parent3f46e64fbd2c76cc89ef8ddfc9189bac285ef638 (diff)
downloadfio-7d9fb455aadc0c0363489591775496f27f4a560a.tar.gz
fio-7d9fb455aadc0c0363489591775496f27f4a560a.tar.bz2
When verify fails, dump the good/bad blocks to files
This makes it easy to compare afterwards to see what kind of corruption was experienced. Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'fio.c')
-rw-r--r--fio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fio.c b/fio.c
index 9c556705..e475a36f 100644
--- a/fio.c
+++ b/fio.c
@@ -865,7 +865,7 @@ static int init_io_u(struct thread_data *td)
* Fill the buffer with the pattern if we are
* going to be doing writes.
*/
- fill_pattern(td, io_u->buf, max_bs, io_u);
+ fill_pattern(td, io_u->buf, max_bs, io_u, 0, 0);
}
}