Re: [PATCH v2] virtio-blk: support per-device queue depth
From: Jason Wang <hidden>
Date: 2021-02-19 03:16:15
On 2021/2/19 11:06 上午, Joseph Qi wrote:
Hi Michael, Could you take this now?
It has been merged: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git/commit/?h=vhost&id=8c6daa79e527a05adb6f5d42cbed2fe36c6b3e83 Thanks
Thanks, Joseph On 2/1/21 10:17 AM, Joseph Qi wrote:quoted
Ping... On 1/26/21 7:13 PM, Stefan Hajnoczi wrote:quoted
On Fri, Jan 22, 2021 at 05:21:46PM +0800, Joseph Qi wrote:quoted
module parameter 'virtblk_queue_depth' was firstly introduced for testing/benchmarking purposes described in commit fc4324b4597c ("virtio-blk: base queue-depth on virtqueue ringsize or module param"). And currently 'virtblk_queue_depth' is used as a saved value for the first probed device. Since we have different virtio-blk devices which have different capabilities, it requires that we support per-device queue depth instead of per-module. So defaultly use vq free elements if module parameter 'virtblk_queue_depth' is not set. Signed-off-by: Joseph Qi <joseph.qi@linux.alibaba.com> Acked-by: Jason Wang <redacted> --- drivers/block/virtio_blk.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-)
quoted
quoted
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
_______________________________________________ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization