From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4t8Z-00043z-Tz for qemu-devel@nongnu.org; Mon, 23 May 2016 12:55:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b4t8X-0007Hl-SR for qemu-devel@nongnu.org; Mon, 23 May 2016 12:55:26 -0400 From: Kevin Wolf Date: Mon, 23 May 2016 18:55:11 +0200 Message-Id: <1464022515-11390-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH 0/4] block: BdrvChildRole.drained_begin/end fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-block@nongnu.org Cc: kwolf@redhat.com, stefanha@redhat.com, pbonzini@redhat.com, famz@redhat.com, qemu-devel@nongnu.org While working on the series that converts block jobs to using a separate BlockBackend, I noticed that I need to do some drain fixes first. So here they are. Patches 1 and 2 are just preparation, patches 3 and 4 are the actual fixes. Kevin Wolf (4): block: Introduce bdrv_replace_child() block: Make bdrv_drain() use bdrv_drained_begin/end() block: Fix reconfiguring graph with drained nodes block: Propagate .drained_begin/end callbacks block.c | 58 +++++++++++++++++++++++++++++++++------ block/block-backend.c | 9 ++++--- block/io.c | 69 +++++++++++++++++++++++------------------------ include/block/block_int.h | 3 ++- 4 files changed, 90 insertions(+), 49 deletions(-) -- 1.8.3.1