qemu/hw/block
Stefan Hajnoczi fc4e394b28 block: remove unused BLOCK_OP_TYPE_DATAPLANE
BLOCK_OP_TYPE_DATAPLANE prevents BlockDriverState from being used by
virtio-blk/virtio-scsi with IOThread. Commit b112a65c52 ("block:
declare blockjobs and dataplane friends!") eliminated the main reason
for this blocker in 2014.

Nowadays the block layer supports I/O from multiple AioContexts, so
there is even less reason to block IOThread users. Any legitimate
reasons related to interference would probably also apply to
non-IOThread users.

The only remaining users are bdrv_op_unblock(BLOCK_OP_TYPE_DATAPLANE)
calls after bdrv_op_block_all(). If we remove BLOCK_OP_TYPE_DATAPLANE
their behavior doesn't change.

Existing bdrv_op_block_all() callers that don't explicitly unblock
BLOCK_OP_TYPE_DATAPLANE seem to do so simply because no one bothered to
rather than because it is necessary to keep BLOCK_OP_TYPE_DATAPLANE
blocked.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-ID: <20250203182529.269066-1-stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2025-02-06 14:51:10 +01:00
..
dataplane include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
block.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
cdrom.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
fdc-internal.h hw/block/fdc-sysbus: Move iomem from FDCtrl to FDCtrlSysBus 2024-02-14 06:09:32 -05:00
fdc-isa.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
fdc-sysbus.c include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2024-12-19 19:36:37 +01:00
fdc.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
hd-geometry.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
Kconfig hw/block: Remove ecc 2024-10-15 15:16:17 +01:00
m25p80.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
m25p80_sfdp.c hw/block/m25p80: Add SFDP table for w25q80bl flash 2024-10-24 07:57:47 +02:00
m25p80_sfdp.h hw/block/m25p80: Add SFDP table for w25q80bl flash 2024-10-24 07:57:47 +02:00
meson.build hw/block: Remove ecc 2024-10-15 15:16:17 +01:00
nand.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
pflash_cfi01.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
pflash_cfi02.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
swim.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
trace-events hw/pflash: implement update buffer for block writes 2024-01-19 12:28:59 +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 Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
virtio-blk-common.c virtio-blk: add zoned storage emulation for zoned devices 2023-05-15 08:18:10 -04:00
virtio-blk.c block: remove unused BLOCK_OP_TYPE_DATAPLANE 2025-02-06 14:51:10 +01:00
xen-block.c xen: do not use '%ms' scanf specifier 2025-01-15 17:06:49 +00:00
xen_blkif.h xen: Import other xen/io/*.h 2019-06-24 10:42:30 +01:00