commit | 7d9fb455aadc0c0363489591775496f27f4a560a | [log] [tgz] |
---|---|---|
author | Jens Axboe <jaxboe@fusionio.com> | Tue Jan 11 22:16:49 2011 +0100 |
committer | Jens Axboe <jaxboe@fusionio.com> | Tue Jan 11 22:16:49 2011 +0100 |
tree | 10f99c7ffb0b3a123c5ea4cc7898e80213b370da | |
parent | 3f46e64fbd2c76cc89ef8ddfc9189bac285ef638 [diff] [blame] |
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>
diff --git a/fio.c b/fio.c index 9c55670..e475a36 100644 --- a/fio.c +++ b/fio.c
@@ -865,7 +865,7 @@ * 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); } }