Re: [PATCH v3 7/9] vhost-scsi: log control queue write descriptors
From: Mike Christie
Date: Sun Apr 06 2025 - 17:43:46 EST
On 4/3/25 1:29 AM, Dongli Zhang wrote:
> Log write descriptors for the control queue, leveraging
> vhost_scsi_get_desc() and vhost_get_vq_desc() to retrieve the array of
> write descriptors to obtain the log buffer.
>
> For Task Management Requests, similar to the I/O queue, store the log
> buffer during the submission path and log it in the completion or error
> handling path.
>
> For Asynchronous Notifications, only the submission path is involved.
>
> Suggested-by: Joao Martins <joao.m.martins@xxxxxxxxxx>
> Signed-off-by: Dongli Zhang <dongli.zhang@xxxxxxxxxx>
>
Reviewed-by: Mike Christie <michael.christie@xxxxxxxxxx>