diff options
author | Mike Christie <michael.christie@oracle.com> | 2024-03-16 01:47:00 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2024-05-22 14:31:15 +0200 |
commit | 1eceddeeb6a9beb7ef2a22c176c03c5ff18c6386 (patch) | |
tree | cb06b9a3a38db85c9731694e53953650b9153985 /virt | |
parent | vhost-scsi: Handle vhost_vq_work_queue failures for events (diff) | |
download | linux-1eceddeeb6a9beb7ef2a22c176c03c5ff18c6386.tar.xz linux-1eceddeeb6a9beb7ef2a22c176c03c5ff18c6386.zip |
vhost-scsi: Handle vhost_vq_work_queue failures for cmds
In the next patches we will support the vhost_task being killed while in
use. The problem for vhost-scsi is that we can't free some structs until
we get responses for commands we have submitted to the target layer and
we currently process the responses from the vhost_task.
This has just drop the responses and free the command's resources. When
all commands have completed then operations like flush will be woken up
and we can complete device release and endpoint cleanup.
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Message-Id: <20240316004707.45557-3-michael.christie@oracle.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions