OSDN Git Service

virtio-blk: add num_request_queues module parameter
authorMax Gurtovoy <mgurtovoy@nvidia.com>
Thu, 2 Sep 2021 20:46:22 +0000 (23:46 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 1 Nov 2021 08:29:47 +0000 (04:29 -0400)
commit0989c41bed96e5dcf7939c6303e3759f02c4c16f
treec1e2b7077e17bbdbfd8ffd66bbaf7da608734f1e
parent02746e26c39ee473b975e0f68d1295abc92672ed
virtio-blk: add num_request_queues module parameter

Sometimes a user would like to control the amount of request queues to
be created for a block device. For example, for limiting the memory
footprint of virtio-blk devices.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Link: https://lore.kernel.org/r/20210902204622.54354-1-mgurtovoy@nvidia.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/block/virtio_blk.c