Received: from eggs.gnu.org ([2001:4830:134:3::10]:34503) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYwQ1-0001jM-JF for qemu-devel@nongnu.org; Fri, 29 Jun 2018 12:38:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fYwQ0-0002B3-Fm for qemu-devel@nongnu.org; Fri, 29 Jun 2018 12:38:45 -0400 References: <20180629151524.138542-1-vsementsov@virtuozzo.com> From: John Snow Message-ID: Date: Fri, 29 Jun 2018 12:38:36 -0400 MIME-Version: 1.0 In-Reply-To: <20180629151524.138542-1-vsementsov@virtuozzo.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 0/3] image fleecing List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vladimir Sementsov-Ogievskiy , qemu-devel@nongnu.org, qemu-block@nongnu.org Cc: eblake@redhat.com, armbru@redhat.com, kwolf@redhat.com, mreitz@redhat.com, famz@redhat.com, den@openvz.org On 06/29/2018 11:15 AM, Vladimir Sementsov-Ogievskiy wrote: > Image fleecing, or external (or pull) backup scheme is near to complete. > Here is forgotten test, written by Fam in far 2014, with two my necessary > patches, previously sent separately, so the series are called "v2" > > v2: > 01: add transaction support > 02: rebase on master, drop "'fleecing-filter': 'BlockdevCreateNotSupported'" > add empty .bdrv_close > add default .bdrv_child_perm > 03: comparing to [PATCH v20 15/15] qemu-iotests: Image fleecing test case 08: > add -f iotests.imgfmt to qemu_io > fix target_img to be always qcow2 > add -r to qemu_io for nbd > add fleecing-filter layer > wrap long lines > > Fam Zheng (1): > qemu-iotests: Image fleecing test case 222 > > Vladimir Sementsov-Ogievskiy (2): > blockdev-backup: enable non-root nodes for backup source > block/fleecing-filter: new filter driver for fleecing > > qapi/block-core.json | 6 ++- > block/fleecing-filter.c | 80 ++++++++++++++++++++++++++++++++ > blockdev.c | 4 +- > block/Makefile.objs | 1 + > tests/qemu-iotests/222 | 112 +++++++++++++++++++++++++++++++++++++++++++++ > tests/qemu-iotests/222.out | 5 ++ > tests/qemu-iotests/group | 1 + > 7 files changed, 205 insertions(+), 4 deletions(-) > create mode 100644 block/fleecing-filter.c > create mode 100755 tests/qemu-iotests/222 > create mode 100644 tests/qemu-iotests/222.out > Have you been able to reproduce a race that proves the filter is necessary, or can you explain how it might happen? I think I mentioned it once as a possibility but I hadn't convinced myself.