commit | 41ccd84597867a36289392e59634d9fd7dc4c397 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Thu May 22 09:17:33 2008 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Thu May 22 09:17:33 2008 +0200 |
tree | 75d70630a94c7d5c1c2f31bf3684a6ede9bb8915 | |
parent | 5973cafb37fbf24c3ca2cdf86a3d03f1b00d6d2b [diff] [blame] |
If verify is enabled, automatically enable refill_buffers Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/init.c b/init.c index 63aaa76..2a3fcee 100644 --- a/init.c +++ b/init.c
@@ -314,6 +314,9 @@ log_info("fio: mixed read/write workload with verify. May not " "work as expected, unless you pre-populated the file\n"); + if (td->o.verify != VERIFY_NONE) + td->o.refill_buffers = 1; + return 0; }