summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorweiping zhang <zhangweiping@didichuxing.com>2017-10-14 00:26:28 +0800
committerJens Axboe <axboe@kernel.dk>2017-10-13 10:52:37 -0600
commit23c4490d2b7f78a855f9c5675e26735fb61afe84 (patch)
tree6709092ab74eed57edb1373e384e9dd94607862b /Documentation
parentcdd094fd0ad750c94ccaa5b2ee84fd8264f6f433 (diff)
downloadlinux-23c4490d2b7f78a855f9c5675e26735fb61afe84.tar.gz
linux-23c4490d2b7f78a855f9c5675e26735fb61afe84.tar.bz2
linux-23c4490d2b7f78a855f9c5675e26735fb61afe84.zip
null_blk: update usage hints for submit_queues
update the range of submits_queues, and correct usage hints. Signed-off-by: weiping zhang <zhangweiping@didichuxing.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/block/null_blk.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/block/null_blk.txt b/Documentation/block/null_blk.txt
index 3140dbd860d8..1f8d92c70458 100644
--- a/Documentation/block/null_blk.txt
+++ b/Documentation/block/null_blk.txt
@@ -55,10 +55,10 @@ irqmode=[0-2]: Default: 1-Soft-irq
completion_nsec=[ns]: Default: 10.000ns
Combined with irqmode=2 (timer). The time each completion event must wait.
-submit_queues=[0..nr_cpus]:
+submit_queues=[1..nr_cpus]:
The number of submission queues attached to the device driver. If unset, it
- defaults to 1 on single-queue and bio-based instances. For multi-queue,
- it is ignored when use_per_node_hctx module parameter is 1.
+ defaults to 1. For multi-queue, it is ignored when use_per_node_hctx module
+ parameter is 1.
hw_queue_depth=[0..qdepth]: Default: 64
The hardware queue depth of the device.