Kevin Wolf dcf94a23b1 block: Don't poll in parent drain callbacks
bdrv_do_drained_begin() is only safe if we have a single
BDRV_POLL_WHILE() after quiescing all affected nodes. We cannot allow
that parent callbacks introduce a nested polling loop that could cause
graph changes while we're traversing the graph.

Split off bdrv_do_drained_begin_quiesce(), which only quiesces a single
node without waiting for its requests to complete. These requests will
be waited for in the BDRV_POLL_WHILE() call down the call chain.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2018-06-18 15:03:25 +02:00
..
2018-03-07 08:30:28 +13:00
2018-06-15 18:13:35 +01:00
2018-06-15 16:30:27 +01:00
2018-06-15 14:40:56 +01:00
2018-03-27 10:17:45 -05:00
2018-06-15 18:13:35 +01:00
2018-06-01 14:41:48 +01:00