diff options
| author | Kevin Wolf | 2018-03-22 14:35:58 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2018-06-18 15:03:25 +0200 |
| commit | d30b8e64b7b282da785307504ada59efa8096fb1 (patch) | |
| tree | 90efda3f69182288751288ef62431b28c59e0988 /linux-user/linux_loop.h | |
| parent | block: Really pause block jobs on drain (diff) | |
| download | qemu-d30b8e64b7b282da785307504ada59efa8096fb1.tar.gz qemu-d30b8e64b7b282da785307504ada59efa8096fb1.tar.xz qemu-d30b8e64b7b282da785307504ada59efa8096fb1.zip | |
block: Remove bdrv_drain_recurse()
For bdrv_drain(), recursively waiting for child node requests is
pointless because we didn't quiesce their parents, so new requests could
come in anyway. Letting the function work only on a single node makes it
more consistent.
For subtree drains and drain_all, we already have the recursion in
bdrv_do_drained_begin(), so the extra recursion doesn't add anything
either.
Remove the useless code.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'linux-user/linux_loop.h')
0 files changed, 0 insertions, 0 deletions
