From 757aff4f5cdf8bc1e0720c01564838aed968c1db Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 12 Dec 2007 19:42:13 +0100 Subject: [PATCH] '1' is minimum value for queue depth, don't allow 0 Signed-off-by: Jens Axboe --- options.c | 1 + 1 file changed, 1 insertion(+) 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", }, { -- 2.25.1