[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [PATCH v2 06/19] blockjob: Pause job on draining any jo

From: Alberto Garcia
Subject: Re: [Qemu-block] [PATCH v2 06/19] blockjob: Pause job on draining any job BDS
Date: Mon, 08 Jan 2018 15:44:23 +0100
User-agent: Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (i586-pc-linux-gnu)

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 <address@hidden>

Reviewed-by: Alberto Garcia <address@hidden>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]