From: Jens Axboe Date: Wed, 12 Dec 2007 18:42:13 +0000 (+0100) Subject: '1' is minimum value for queue depth, don't allow 0 X-Git-Tag: fio-1.17.3~18 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=757aff4f5cdf8bc1e0720c01564838aed968c1db;ds=inline '1' is minimum value for queue depth, don't allow 0 Signed-off-by: Jens Axboe --- diff --git a/options.c b/options.c index 0fc99557..c56b9dfb 100644 --- a/options.c +++ b/options.c @@ -396,6 +396,7 @@ static struct fio_option options[] = { .type = FIO_OPT_INT, .off1 = td_var_offset(iodepth), .help = "Amount of IO buffers to keep in flight", + .minval = 1, .def = "1", }, {