]> www.infradead.org Git - users/jedix/linux-maple.git/commit
vhost-scsi: log control queue write descriptors
authorDongli Zhang <dongli.zhang@oracle.com>
Thu, 3 Apr 2025 06:29:52 +0000 (23:29 -0700)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 18 May 2025 21:25:24 +0000 (17:25 -0400)
commita94c96a352b56bf7aa519ed3084d3d5ac5e76910
treec52618bc72554ecd66041264bc5e2715dce4bff8
parentc2c5c259aad628b3e0b4def7d9c02faad92eda11
vhost-scsi: log control queue write descriptors

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@oracle.com>
Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com>
Message-Id: <20250403063028.16045-8-dongli.zhang@oracle.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Mike Christie <michael.christie@oracle.com>
drivers/vhost/scsi.c