qemu-e2k/block
Kevin Wolf e19b157f3c block: Mark bdrv_refresh_limits() and callers GRAPH_RDLOCK
This adds GRAPH_RDLOCK annotations to declare that callers of
bdrv_refresh_limits() need to hold a reader lock for the graph because
it accesses the children list of a node.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20230504115750.54437-21-kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2023-05-10 14:16:54 +02:00
..
export block/export: call blk_set_dev_ops(blk, NULL, NULL) 2023-05-03 14:00:08 -05:00
monitor block/monitor: Fix crash when executing HMP commit 2023-04-25 15:11:57 +02:00
accounting.c
aio_task.c
amend.c block: Mark BlockDriver callbacks for amend job GRAPH_RDLOCK 2023-05-10 14:16:54 +02:00
backup.c
blkdebug.c blkdebug: add missing coroutine_fn annotation 2023-04-25 13:17:28 +02:00
blkio.c
blklogwrites.c
blkreplay.c
blkverify.c block: Mark bdrv_recurse_can_replace() and callers GRAPH_RDLOCK 2023-05-10 14:16:54 +02:00
block-backend.c block: Consistently call bdrv_activate() outside coroutine 2023-05-10 14:16:53 +02:00
block-copy.c
block-gen.h
block-ram-registrar.c
bochs.c
cloop.c
commit.c
copy-before-write.c
copy-before-write.h
copy-on-read.c block: remove has_variable_length from filters 2023-04-11 16:38:56 +02:00
copy-on-read.h
coroutines.h nbd: Mark nbd_co_do_establish_connection() and callers GRAPH_RDLOCK 2023-05-10 14:16:53 +02:00
create.c
crypto.c block: Mark bdrv_co_get_info() and callers GRAPH_RDLOCK 2023-05-10 14:16:54 +02:00
crypto.h
curl.c
dirty-bitmap.c
dmg-bz2.c
dmg-lzfse.c
dmg.c block/dmg: Declare a type definition for DMG uncompress function 2023-04-24 13:53:44 -04:00
dmg.h block/dmg: Declare a type definition for DMG uncompress function 2023-04-24 13:53:44 -04:00
file-posix.c thread-pool: avoid passing the pool parameter every time 2023-04-25 13:17:28 +02:00
file-win32.c thread-pool: avoid passing the pool parameter every time 2023-04-25 13:17:28 +02:00
filter-compress.c block: remove has_variable_length from filters 2023-04-11 16:38:56 +02:00
gluster.c
graph-lock.c block: convert bdrv_graph_wrlock() to AIO_WAIT_WHILE_UNLOCKED() 2023-04-25 13:17:28 +02:00
io_uring.c io_uring: use LuringState from the running thread 2023-04-25 13:17:28 +02:00
io.c block: Mark bdrv_refresh_limits() and callers GRAPH_RDLOCK 2023-05-10 14:16:54 +02:00
iscsi-opts.c
iscsi.c
linux-aio.c linux-aio: use LinuxAioState from the running thread 2023-04-25 13:17:28 +02:00
meson.build block: add configure options for excluding vmdk, vhdx and vpc 2023-05-10 14:15:13 +02:00
mirror.c block: Mark bdrv_recurse_can_replace() and callers GRAPH_RDLOCK 2023-05-10 14:16:54 +02:00
nbd.c nbd: Mark nbd_co_do_establish_connection() and callers GRAPH_RDLOCK 2023-05-10 14:16:53 +02:00
nfs.c block/nfs: do not poll within a coroutine 2023-04-12 18:26:51 +02:00
null.c
nvme.c
parallels-ext.c
parallels.c block: bdrv/blk_co_unref() for calls in coroutine context 2023-05-10 14:16:53 +02:00
parallels.h
preallocate.c block: remove has_variable_length from filters 2023-04-11 16:38:56 +02:00
progress_meter.c
qapi-sysemu.c
qapi.c block: Mark bdrv_query_bds_stats() and callers GRAPH_RDLOCK 2023-05-10 14:16:54 +02:00
qcow2-bitmap.c qcow2: mark various functions as coroutine_fn and GRAPH_RDLOCK 2023-04-25 13:17:28 +02:00
qcow2-cache.c
qcow2-cluster.c qcow2: mark various functions as coroutine_fn and GRAPH_RDLOCK 2023-04-25 13:17:28 +02:00
qcow2-refcount.c qcow2: Don't call bdrv_getlength() in coroutine_fns 2023-05-10 14:16:53 +02:00
qcow2-snapshot.c qcow2: mark various functions as coroutine_fn and GRAPH_RDLOCK 2023-04-25 13:17:28 +02:00
qcow2-threads.c thread-pool: avoid passing the pool parameter every time 2023-04-25 13:17:28 +02:00
qcow2.c block: .bdrv_open is non-coroutine and unlocked 2023-05-10 14:16:53 +02:00
qcow2.h qcow2: Don't call bdrv_getlength() in coroutine_fns 2023-05-10 14:16:53 +02:00
qcow.c block: bdrv/blk_co_unref() for calls in coroutine context 2023-05-10 14:16:53 +02:00
qed-check.c
qed-cluster.c
qed-l2-cache.c
qed-table.c
qed.c block: .bdrv_open is non-coroutine and unlocked 2023-05-10 14:16:53 +02:00
qed.h
quorum.c block: Mark bdrv_recurse_can_replace() and callers GRAPH_RDLOCK 2023-05-10 14:16:54 +02:00
raw-format.c block: Mark bdrv_co_get_info() and callers GRAPH_RDLOCK 2023-05-10 14:16:54 +02:00
rbd.c
replication.c block: remove has_variable_length from filters 2023-04-11 16:38:56 +02:00
reqlist.c
snapshot-access.c
snapshot.c
ssh.c
stream.c
throttle-groups.c
throttle.c
trace-events
trace.h
vdi.c block: bdrv/blk_co_unref() for calls in coroutine context 2023-05-10 14:16:53 +02:00
vhdx-endian.c
vhdx-log.c block/vhdx: fix dynamic VHDX BAT corruption 2023-04-11 13:53:03 +02:00
vhdx.c vhdx: Require GRAPH_RDLOCK for accessing a node's parent list 2023-05-10 14:16:53 +02:00
vhdx.h
vmdk.c block: Mark bdrv_co_get_allocated_file_size() and callers GRAPH_RDLOCK 2023-05-10 14:16:54 +02:00
vpc.c block: bdrv/blk_co_unref() for calls in coroutine context 2023-05-10 14:16:53 +02:00
vvfat.c vvfat: mark various functions as coroutine_fn 2023-04-25 13:17:28 +02:00
win32-aio.c
write-threshold.c