mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
89ed05eea0
commit
200052440d
2 changed files with 7 additions and 6 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue