From: Jens Axboe Date: Fri, 10 Jul 2015 15:27:02 +0000 (-0600) Subject: buffer: only set refill_buffers, it it wasn't set manually X-Git-Tag: fio-2.2.10~42 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=7627557b4795971e0a7565f51415697c71d27c6b buffer: only set refill_buffers, it it wasn't set manually Signed-off-by: Jens Axboe --- diff --git a/init.c b/init.c index 515f3141..5edd53e0 100644 --- a/init.c +++ b/init.c @@ -662,7 +662,9 @@ static int fixup_options(struct thread_data *td) ret = warnings_fatal; } - o->refill_buffers = 1; + if (!fio_option_is_set(o, refill_buffers)) + o->refill_buffers = 1; + if (o->max_bs[DDIR_WRITE] != o->min_bs[DDIR_WRITE] && !o->verify_interval) o->verify_interval = o->min_bs[DDIR_WRITE];