summaryrefslogtreecommitdiff
path: root/Documentation/block
diff options
context:
space:
mode:
authorMatias Bjørling <m@bjorling.me>2013-12-21 00:11:00 +0100
committerJens Axboe <axboe@kernel.dk>2013-12-21 09:30:33 -0700
commit200052440d3b56f593038a35b7c14bdc780184a9 (patch)
tree487eade5e8f9150e6a0b374f3d49e066057e50b4 /Documentation/block
parent89ed05eea093d4c18df5d504d104f29b874fea29 (diff)
null_blk: set use_per_node_hctx param to false
The defaults for the module is to instantiate itself with blk-mq and a submit queue for each CPU node in the system. To save resources, initialize instead with a single submit queue. Signed-off-by: Matias Bjorling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation/block')
-rw-r--r--Documentation/block/null_blk.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/Documentation/block/null_blk.txt b/Documentation/block/null_blk.txt
index 5603dad5534b..b2830b435895 100644
--- a/Documentation/block/null_blk.txt
+++ b/Documentation/block/null_blk.txt
@@ -65,7 +65,8 @@ hw_queue_depth=[0..qdepth]: Default: 64
III: Multi-queue specific parameters
-use_per_node_hctx=[0/1]: Default: 1
- If 1, the multi-queue block layer is instantiated with a hardware dispatch
- queue for each CPU node in the system. If 0, it is instantiated with the
- number of queues defined in the submit_queues parameter.
+use_per_node_hctx=[0/1]: Default: 0
+ 0: The number of submit queues are set to the value of the submit_queues
+ parameter.
+ 1: The multi-queue block layer is instantiated with a hardware dispatch
+ queue for each CPU node in the system.