On Thu 21 Dec 2017 03:22:38 PM CET, Kevin Wolf wrote: > Block jobs already paused themselves when their main BlockBackend > entered a drained section. This is not good enough: We also want to > pause a block job and may not submit new requests if, for example, the > mirror target node should be drained. > > This implements .drained_begin/end callbacks in child_job in order to > consider all block nodes related to the job, and removes the > BlockBackend callbacks which are unnecessary now because the root of the > job main BlockBackend is always referenced with a child_job, too. > > Signed-off-by: Kevin Wolf <kw...@redhat.com>
Reviewed-by: Alberto Garcia <be...@igalia.com> Berto