Kevin Wolf 7b6a3d3553 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>
2017-12-22 15:05:31 +01:00
..
2017-10-26 14:45:57 +02:00
2017-12-18 15:44:39 -05:00
2017-12-18 10:54:13 -05:00
2016-10-07 14:14:06 +02:00
2017-11-17 18:21:31 +01:00
2016-06-07 18:19:24 +03:00
2017-07-17 11:34:11 +08:00
2017-12-20 11:30:55 +00:00
2017-07-17 11:28:15 +08:00
2016-09-23 11:42:52 +08:00
2017-08-31 12:29:07 +02:00
2017-08-31 12:29:07 +02:00
2017-11-17 18:21:31 +01:00