diff options
author | Kevin Wolf <kwolf@redhat.com> | 2017-12-06 17:05:44 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2017-12-22 15:05:32 +0100 |
commit | b0165585900f050f403cecba9d89adeccf35dd6c (patch) | |
tree | 82a19acb79e687005a43bdaed32f8c34fdcde05f /thunk.c | |
parent | 0152bf400fe3ca7facb382683bfcccda70ebf51a (diff) | |
download | qemu-b0165585900f050f403cecba9d89adeccf35dd6c.zip qemu-b0165585900f050f403cecba9d89adeccf35dd6c.tar.gz qemu-b0165585900f050f403cecba9d89adeccf35dd6c.tar.bz2 |
block: Add bdrv_subtree_drained_begin/end()
bdrv_drained_begin() waits for the completion of requests in the whole
subtree, but it only actually keeps its immediate bs parameter quiesced
until bdrv_drained_end().
Add a version that keeps the whole subtree drained. As of this commit,
graph changes cannot be allowed during a subtree drained section, but
this will be fixed soon.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'thunk.c')
0 files changed, 0 insertions, 0 deletions