null_blk: update usage hints for submit_queues
Subsystems (2)
PATCH 1/2 null_blk: update usage hints for submit_queues
In reply to a message not in the archiveupdate the range of submits_queues, and correct usage hints.
Signed-off-by weiping zhang <[email protected]>
--- Documentation/block/null_blk.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/block/null_blk.txt +3 -3
@@ -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.
Signature · 1 line
2.14.2
PATCH 2/2 null_blk: add usage hints for no_sched
In reply to a message not in the archiveThis parameter provide an option to disable io scheduler when nullb* in multi-queue mode.
Signed-off-by weiping zhang <[email protected]>
--- Documentation/block/null_blk.txt | 4 ++++ 1 file changed, 4 insertions(+)
Documentation/block/null_blk.txt +4 -0
@@ -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.
Signature · 1 line
2.14.2