Thread (17 messages) 17 messages, 5 authors, 2021-10-24

Re: [PATCH v3 1/1] virtio-blk: add num_request_queues module parameter

From: Chaitanya Kulkarni <hidden>
Date: 2021-09-05 08:49:50
Also in: linux-block

On 9/5/2021 12:46 AM, Leon Romanovsky wrote:
quoted
+static unsigned int num_request_queues;
+module_param_cb(num_request_queues, &queue_count_ops, &num_request_queues,
+		0644);
+MODULE_PARM_DESC(num_request_queues,
+		 "Number of request queues to use for blk device. Should > 0");
+
Won't it limit all virtio block devices to the same limit?

It is very common to see multiple virtio-blk devices on the same system
and they probably need different limits.

Thanks

Without looking into the code, that can be done adding a configfs

interface and overriding a global value (module param) when it is set from

configfs.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help