commit | 757aff4f5cdf8bc1e0720c01564838aed968c1db | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Wed Dec 12 19:42:13 2007 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Wed Dec 12 19:42:13 2007 +0100 |
tree | abb482e082a381caa419f8e069c0fb48ee5e1fdb | |
parent | e6026f9c9e41226cbc0c526dac8ec5a5c355348a [diff] |
'1' is minimum value for queue depth, don't allow 0 Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/options.c b/options.c index 0fc9955..c56b9df 100644 --- a/options.c +++ b/options.c
@@ -396,6 +396,7 @@ .type = FIO_OPT_INT, .off1 = td_var_offset(iodepth), .help = "Amount of IO buffers to keep in flight", + .minval = 1, .def = "1", }, {