summaryrefslogtreecommitdiffstats
path: root/hw/scsi/scsi-disk.c
diff options
context:
space:
mode:
authorMaxim Levitsky2020-12-17 16:00:38 +0100
committerPaolo Bonzini2021-02-25 14:14:32 +0100
commit6f1a5c37db5a6fc7c5c44b3e45cee6e33df31e9d (patch)
treeddc2ee77124795690c9dc3f006db7bf2bc61237a /hw/scsi/scsi-disk.c
parentscsi: allow user to set werror as report (diff)
downloadqemu-6f1a5c37db5a6fc7c5c44b3e45cee6e33df31e9d.tar.gz
qemu-6f1a5c37db5a6fc7c5c44b3e45cee6e33df31e9d.tar.xz
qemu-6f1a5c37db5a6fc7c5c44b3e45cee6e33df31e9d.zip
virtio-scsi: don't process IO on fenced dataplane
If virtio_scsi_dataplane_start fails, there is a small window when it drops the aio lock (in aio_wait_bh_oneshot) and the dataplane's AIO handler can still run during that window. This is done after the dataplane was marked as fenced, thus we use this flag to avoid it doing any IO. Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com> Message-Id: <20201217150040.906961-2-mlevitsk@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/scsi/scsi-disk.c')
0 files changed, 0 insertions, 0 deletions