aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2022-11-18 18:41:02 +0100
committerKevin Wolf <kwolf@redhat.com>2022-12-15 16:07:42 +0100
commitd22933acd2f470eeef779e4d444e848f76dcfaf8 (patch)
tree8d04b9786259a31c0061aa4c7f33408488eb536e /python
parent2e117866d7c96cc17e84cd2946fee1bf3292d814 (diff)
block: Drain individual nodes during reopen
bdrv_reopen() and friends use subtree drains as a lazy way of covering all the nodes they touch. Turns out that this lazy way is a lot more complicated than just draining the nodes individually, even not accounting for the additional complexity in the drain mechanism itself. Simplify the code by switching to draining the individual nodes that are already managed in the BlockReopenQueue anyway. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-Id: <20221118174110.55183-8-kwolf@redhat.com> Reviewed-by: Hanna Reitz <hreitz@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions