From: Omar Sandoval Date: Wed, 1 Jun 2016 07:04:48 +0000 (-0700) Subject: Fix iodepth_batch=0 X-Git-Tag: fio-2.12~15 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=3482263a88c18df1f2d475f426d947e266d22e10;p=fio.git Fix iodepth_batch=0 The man page claims that iodepth_batch=0 falls back to whatever was specified for iodepth, but the enforced minimum of 1 means that 0 is not actually valid. Fixes: a2e6f8ac56a9 ("Make iodepth_batch=1 by default") Signed-off-by: Omar Sandoval Signed-off-by: Jens Axboe --- diff --git a/options.c b/options.c index 1b6ce25c..7a22fe4d 100644 --- a/options.c +++ b/options.c @@ -1678,7 +1678,6 @@ struct fio_option fio_options[FIO_MAX_OPTS] = { .help = "Number of IO buffers to submit in one go", .parent = "iodepth", .hide = 1, - .minval = 1, .interval = 1, .def = "1", .category = FIO_OPT_C_IO,