qemu-e2k/hw/scsi
Sergio Lopez c7040ff64e block: Honor blk_set_aio_context() context requirements
The documentation for bdrv_set_aio_context_ignore() states this:

 * The caller must own the AioContext lock for the old AioContext of bs, but it
 * must not own the AioContext lock for new_context (unless new_context is the
 * same as the current context of bs).

As blk_set_aio_context() makes use of this function, this rule also
applies to it.

Fix all occurrences where this rule wasn't honored.

Suggested-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Sergio Lopez <slp@redhat.com>
Message-Id: <20201214170519.223781-2-slp@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
2021-01-20 14:48:08 -06:00
..
emulation.c
esp-pci.c
esp.c
Kconfig
lsi53c895a.c
megasas.c
meson.build
mfi.h
mpi.h
mptconfig.c
mptendian.c
mptsas.c
mptsas.h
scsi-bus.c migration: Replace migration's JSON writer by the general one 2020-12-19 10:39:16 +01:00
scsi-disk.c
scsi-generic.c
spapr_vscsi.c
srp.h
trace-events
trace.h
vhost-scsi-common.c
vhost-scsi.c
vhost-user-scsi.c
viosrp.h
virtio-scsi-dataplane.c
virtio-scsi.c block: Honor blk_set_aio_context() context requirements 2021-01-20 14:48:08 -06:00
vmw_pvscsi.c
vmw_pvscsi.h