Received: from eggs.gnu.org ([2001:4830:134:3::10]:34414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1DvR-0006C3-Rq for qemu-devel@nongnu.org; Fri, 13 May 2016 10:18:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b1DvP-0007iH-K6 for qemu-devel@nongnu.org; Fri, 13 May 2016 10:18:44 -0400 References: <1462354765-14037-1-git-send-email-kwolf@redhat.com> <1462354765-14037-7-git-send-email-kwolf@redhat.com> From: Max Reitz Message-ID: Date: Fri, 13 May 2016 16:18:32 +0200 MIME-Version: 1.0 In-Reply-To: <1462354765-14037-7-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="a8Wpvg2lVXx9jR2o9JFIVbEe4B64JaoxO" Subject: Re: [Qemu-devel] [PATCH 06/14] mirror: Allow target that already has a BlockBackend List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , qemu-block@nongnu.org Cc: jcody@redhat.com, jsnow@redhat.com, berto@igalia.com, qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --a8Wpvg2lVXx9jR2o9JFIVbEe4B64JaoxO From: Max Reitz To: Kevin Wolf , qemu-block@nongnu.org Cc: jcody@redhat.com, jsnow@redhat.com, berto@igalia.com, qemu-devel@nongnu.org Message-ID: Subject: Re: [PATCH 06/14] mirror: Allow target that already has a BlockBackend References: <1462354765-14037-1-git-send-email-kwolf@redhat.com> <1462354765-14037-7-git-send-email-kwolf@redhat.com> In-Reply-To: <1462354765-14037-7-git-send-email-kwolf@redhat.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable On 04.05.2016 11:39, Kevin Wolf wrote: > We had to forbid mirroring to a target BDS that already had a BB > attached because the node swapping at job completion would add a second= > BB and we didn't support multiple BBs on a single BDS at the time. Now > we do, so we can lift the restriction. > As we allow additional BlockBackends for the target, we must expect > other users to be sending requests. There may no requests be in flight > during the graph modification, so we have to drain those users now. >=20 > The core part of this patch is a revert of commit 40365552. >=20 > Signed-off-by: Kevin Wolf > --- > block/mirror.c | 33 ++++++--------------------------- > blockdev.c | 4 ---- > tests/qemu-iotests/041 | 27 --------------------------- > tests/qemu-iotests/041.out | 4 ++-- > 4 files changed, 8 insertions(+), 60 deletions(-) I don't really see a use case for this but I guess a ratio of 8+/60- is enough of an argument. Reviewed-by: Max Reitz --a8Wpvg2lVXx9jR2o9JFIVbEe4B64JaoxO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXNeI4AAoJEDuxQgLoOKytxysH/0wyRERECZSuAh/DKqvbbezW VvMhBOhKqXUXkcCDDpFZ+sRZ/dzg8MmFUFj+zsF5nyaS0/wic71U1ayrYIWFF7Yl zzynAPsKNH4FdEngpoujBK5/QM3AqUN26y4hlWtaAEIuublY6FYyqUySkie5pcoa l/FLM9UCnJsKF8/UPaxSGtok9b1TJLrd4+hyOyK3P6UdLeTnmca1Ex9aLQ1lduck dAN2+F2WPIrwRNp9mK8/Qm+qkHBX9rOTlp4X0btzjPWdhBZLjmg3V5k93JAKsOaV v+vz7h7WKhlohFY3Zg7TQAK8JguU47N7eldqrPR7ljIf5iqgXhuOaNNClT+IXrw= =0wpP -----END PGP SIGNATURE----- --a8Wpvg2lVXx9jR2o9JFIVbEe4B64JaoxO--