aboutsummaryrefslogtreecommitdiffstats
path: root/block/commit.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2017-12-13 18:14:18 +0100
committerKevin Wolf <kwolf@redhat.com>2017-12-22 15:05:32 +0100
commit0f115168943e5bf2219497abfbf5f7a9c271b9b0 (patch)
tree4e732225a93d7e87b6f7c6e8b1669d70d6c1da16 /block/commit.c
parentblock: Don't block_job_pause_all() in bdrv_drain_all() (diff)
downloadqemu-0f115168943e5bf2219497abfbf5f7a9c271b9b0.tar.xz
qemu-0f115168943e5bf2219497abfbf5f7a9c271b9b0.zip
block: Nested drain_end must still call callbacks
bdrv_do_drained_begin() restricts the call of parent callbacks and aio_disable_external() to the outermost drain section, but the block driver callbacks are always called. bdrv_do_drained_end() must match this behaviour, otherwise nodes stay drained even if begin/end calls were balanced. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/commit.c')
0 files changed, 0 insertions, 0 deletions