null_blk: make sure submit_queues > 0
authorweiping zhang <zhangweiping@didichuxing.com>
Wed, 2 Aug 2017 16:27:37 +0000 (00:27 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 7 Aug 2017 21:15:38 +0000 (15:15 -0600)
commitd424681cc9ebaaeac2b6af842d2f497ba7ccf349
treec28044f1134edf417ef7e7ba6224c14242932175
parent558ab300c8f2e8843cbd2f30b358815b01b790e1
null_blk: make sure submit_queues > 0

set submit_queues to 1 by default, and make sure it's value > 0.

Signed-off-by: weiping zhang <zhangweiping@didichuxing.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/null_blk.c