diff options
author | Mike Christie <michael.christie@oracle.com> | 2024-03-16 03:47:03 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2024-05-22 15:31:15 +0300 |
commit | 0352c961cb3542b1c03415259d7b85d99457acff (patch) | |
tree | 18902ac31dc92a99fdb2f330f4ebfb93a9cfc716 /drivers/misc/sram.h | |
parent | d9e59eec4aa7b0c46cec56f4f9cf595ea209da7e (diff) | |
download | linux-0352c961cb3542b1c03415259d7b85d99457acff.tar.xz |
vhost_scsi: Handle vhost_vq_work_queue failures for TMFs
vhost_vq_work_queue will never fail when queueing the TMF's response
handling because a guest can only send us TMFs when the device is fully
setup so there is always a worker at that time. In the next patches we
will modify the worker code so it handles SIGKILL by exiting before
outstanding commands/TMFs have sent their responses. In that case
vhost_vq_work_queue can fail when we try to send a response.
This has us just free the TMF's resources since at this time the guest
won't be able to get a response even if we could send it.
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Message-Id: <20240316004707.45557-6-michael.christie@oracle.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/misc/sram.h')
0 files changed, 0 insertions, 0 deletions