aboutsummaryrefslogtreecommitdiff
path: root/qapi/qmp-event.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2017-12-07 12:20:10 +0100
committerKevin Wolf <kwolf@redhat.com>2017-12-22 15:05:31 +0100
commit7b6a3d35536f945c41aa62627cc295482606aa2e (patch)
treea563e0b74f85495d9124ecef92bd68383f226902 /qapi/qmp-event.c
parent9a7e86c8048cecededa665b1ca55c7f217ed358c (diff)
block: Make bdrv_drain() driver callbacks non-recursive
bdrv_drained_begin() doesn't increase bs->quiesce_counter recursively and also doesn't notify other parent nodes of children, which both means that the child nodes are not actually drained, and bdrv_drained_begin() is providing useful functionality only on a single node. To keep things consistent, we also shouldn't call the block driver callbacks recursively. A proper recursive drain version that provides an actually working drained section for child nodes will be introduced later. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com>
Diffstat (limited to 'qapi/qmp-event.c')
0 files changed, 0 insertions, 0 deletions