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:
>> Ping...
>>
>> On 1/26/21 7:13 PM, Stefan Hajnoczi wrote:
>>> On Fri, Jan 22, 2021 at 05:21:46PM +0800, Joseph Qi wrote:
>>>> 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 at linux.alibaba.com>
>>>> Acked-by: Jason Wang <jasowang at redhat.com>
>>>> ---
>>>> drivers/block/virtio_blk.c | 11 +++++++----
>>>> 1 file changed, 7 insertions(+), 4 deletions(-)
>>> Reviewed-by: Stefan Hajnoczi <stefanha at redhat.com>
>>>