Recent changes (master)
The following changes since commit 908119302fbb900a449988d03dacc95426c09e08:
stat: move stat mutex grab to thread (2014-07-21 11:32:13 +0200)
are available in the git repository at:
git://git.kernel.dk/fio.git master
for you to fetch changes up to 7ffa8930764e6ccc5bf036fe4d73f1d7276453e5:
verify: ensure that verify interval is smaller or equal to blocksize (2014-07-23 09:47:26 +0200)
----------------------------------------------------------------
Jens Axboe (1):
verify: ensure that verify interval is smaller or equal to blocksize
init.c | 9 +++++++++ 1 file changed, 9 insertions(+)
---
Diff of recent changes:
init.c +9 -0
@@ -635,6 +635,15 @@ static int fixup_options(struct thread_data *td)if (o->max_bs[DDIR_WRITE ] != o->min_bs[DDIR_WRITE ] && !o->verify_interval) o->verify_interval = o->min_bs[DDIR_WRITE ]; + +/* +* Verify interval must be smaller or equal to the +* write size. +*/ +if (o->verify_interval > o->min_bs[DDIR_WRITE ]) + o->verify_interval = o->min_bs[DDIR_WRITE ]; +else if (td_read (td) && o->verify_interval > o->min_bs[DDIR_READ ]) + o->verify_interval = o->min_bs[DDIR_READ ]; }if (o->pre_read) {