Re: [Qemu-devel] [PATCH 4/4] block: Propagate .drained_begin/end callbacks

2016-05-23 Thread Eric Blake
On 05/23/2016 10:55 AM, Kevin Wolf wrote: > When draining intermediate nodes (i.e. nodes that aren't the root node > for at least one of their parents; with node references, the user can > always configure the graph to create this situation), we need to > propagate the .drained_begin/end callbacks

[Qemu-devel] [PATCH 4/4] block: Propagate .drained_begin/end callbacks

2016-05-23 Thread Kevin Wolf
When draining intermediate nodes (i.e. nodes that aren't the root node for at least one of their parents; with node references, the user can always configure the graph to create this situation), we need to propagate the .drained_begin/end callbacks all the way up to the root for the drain to be eff