Make iodepth_batch=1 by default
authorJens Axboe <jens.axboe@oracle.com>
Fri, 18 Jan 2008 09:28:11 +0000 (10:28 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 18 Jan 2008 09:28:11 +0000 (10:28 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
options.c

index d17dbb1cd6f45696866822a0b190fb77129331e6..3de2ae615fb3d1683625ce42f9b0ad9d7947eb13 100644 (file)
--- a/options.c
+++ b/options.c
@@ -504,6 +504,8 @@ static struct fio_option options[] = {
                .off1   = td_var_offset(iodepth_batch),
                .help   = "Number of IO to submit in one go",
                .parent = "iodepth",
+               .minval = 1,
+               .def    = "1",
        },
        {
                .name   = "iodepth_low",