Received: from eggs.gnu.org ([2001:4830:134:3::10]:42608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wng4r-0006QG-Bm for qemu-devel@nongnu.org; Thu, 22 May 2014 23:23:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wng4l-0003Gz-6T for qemu-devel@nongnu.org; Thu, 22 May 2014 23:23:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40295) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wng4k-0003Fx-UM for qemu-devel@nongnu.org; Thu, 22 May 2014 23:23:19 -0400 From: Fam Zheng Date: Fri, 23 May 2014 11:23:16 +0800 Message-Id: <1400815403-7719-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH 0/7] block: Drop in_use with op blocker List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Benoit Canet , jcody@redhat.com, Max Reitz , Stefan Hajnoczi , Paolo Bonzini This is split from series "[Qemu-devel] [PATCH v20 00/15] Drop in_use from BlockDriverState and enable point-in-time snapshot exporting over NBD", with a new patch 06 to avoid backing_blocker assertion violation. Thanks, Fam Fam Zheng (7): block: Add BlockOpType enum block: Introduce op_blockers to BlockDriverState block: Replace in_use with operation blocker block: Move op_blocker check from block_job_create to its caller block: Add bdrv_set_backing_hd() block: Use bdrv_set_backing_hd everywhere block: Add backing_blocker in BlockDriverState block-migration.c | 7 +- block.c | 146 ++++++++++++++++++++++++++++++++-------- block/mirror.c | 2 +- block/stream.c | 4 +- block/vvfat.c | 2 +- blockdev.c | 27 +++++--- blockjob.c | 14 ++-- hw/block/dataplane/virtio-blk.c | 18 +++-- include/block/block.h | 29 +++++++- include/block/block_int.h | 9 ++- include/block/blockjob.h | 3 + 11 files changed, 203 insertions(+), 58 deletions(-) -- 1.9.2