qemu-patch-raspberry4/hw/block
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
..
dataplane block: Honor blk_set_aio_context() context requirements 2021-01-20 14:48:08 -06:00
block.c
cdrom.c
ecc.c
fdc.c qdev: Move softmmu properties to qdev-properties-system.h 2020-12-18 15:20:17 -05:00
hd-geometry.c
Kconfig
m25p80.c hw/block: m25p80: Implement AAI-WP command support for SST flashes 2021-01-16 10:57:21 -08:00
meson.build hw/block/nvme: support multiple namespaces 2020-10-27 07:24:47 +01:00
nand.c Machine queue, 2020-12-23 2021-01-01 22:57:15 +00:00
nvme-ns.c hw/block/nvme: report actual LBA data shift in LBAF 2020-10-27 11:29:25 +01:00
nvme-ns.h hw/block/nvme: support multiple namespaces 2020-10-27 07:24:47 +01:00
nvme.c Remove superfluous timer_del() calls 2021-01-08 15:13:38 +00:00
nvme.h hw/block/nvme: change controller pci id 2020-10-27 07:24:47 +01:00
onenand.c qdev: Move softmmu properties to qdev-properties-system.h 2020-12-18 15:20:17 -05:00
pflash_cfi01.c qdev: Move softmmu properties to qdev-properties-system.h 2020-12-18 15:20:17 -05:00
pflash_cfi02.c qdev: Move softmmu properties to qdev-properties-system.h 2020-12-18 15:20:17 -05:00
swim.c swim: Rename struct SWIM to Swim 2020-08-27 14:04:55 -04:00
tc58128.c
trace-events hw/block/nvme: fix prp mapping status codes 2020-10-27 11:29:25 +01:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
vhost-user-blk.c qdev: Move softmmu properties to qdev-properties-system.h 2020-12-18 15:20:17 -05:00
virtio-blk.c virtio-blk: undo destructive iov_discard_*() operations 2020-09-23 13:41:58 +01:00
xen-block.c qdev: Rename qdev_get_prop_ptr() to object_field_prop_ptr() 2020-12-18 15:20:18 -05:00
xen_blkif.h