summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorweiping zhang <zhangweiping@didichuxing.com>2017-10-13 18:26:54 +0200
committerJens Axboe <axboe@kernel.dk>2017-10-13 18:52:39 +0200
commitfc186311f2233bb3f69f22b96babdf16a57c88a9 (patch)
tree97adaec4c4f9229a959a4e262309ce5bbe5eeda0
parentnull_blk: update usage hints for submit_queues (diff)
downloadlinux-fc186311f2233bb3f69f22b96babdf16a57c88a9.tar.xz
linux-fc186311f2233bb3f69f22b96babdf16a57c88a9.zip
null_blk: add usage hints for no_sched
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>
-rw-r--r--Documentation/block/null_blk.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/block/null_blk.txt b/Documentation/block/null_blk.txt
index 1f8d92c70458..b7161c8e70f2 100644
--- a/Documentation/block/null_blk.txt
+++ b/Documentation/block/null_blk.txt
@@ -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.