null_blk: add usage hints for no_sched
authorweiping zhang <zhangweiping@didichuxing.com>
Fri, 13 Oct 2017 16:26:54 +0000 (00:26 +0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 13 Oct 2017 16:52:39 +0000 (10:52 -0600)
This parameter provide an option to disable io scheduler when nullb*
in multi-queue mode.

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

index 1f8d92c704585e988a222518ad316100f4e5b088..b7161c8e70f2e76c6cc792cca337deea6415ade2 100644 (file)
@@ -73,3 +73,7 @@ use_per_node_hctx=[0/1]: Default: 0
 
 use_lightnvm=[0/1]: Default: 0
   Register device with LightNVM. Requires blk-mq and CONFIG_NVM to be enabled.
+
+no_sched=[0/1]: Default: 0
+  0: nullb* use default blk-mq io scheduler.
+  1: nullb* doesn't use io scheduler.