Fix iodepth_batch=0
authorOmar Sandoval <osandov@fb.com>
Wed, 1 Jun 2016 07:04:48 +0000 (00:04 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 2 Jun 2016 17:41:34 +0000 (11:41 -0600)
commit3482263a88c18df1f2d475f426d947e266d22e10
tree575879b4e0b396a356e3d0664b45aad0a8761e44
parent6562685f373b9bc5f1ed909281737f55b34934a4
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 <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
options.c