From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHWwQ-0000lW-9u for qemu-devel@nongnu.org; Tue, 21 Jul 2015 08:46:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHWwO-0005Wx-Su for qemu-devel@nongnu.org; Tue, 21 Jul 2015 08:46:38 -0400 References: <55AD0DA9.20606@redhat.com> From: Eric Blake Message-ID: <55AE3F25.1090808@redhat.com> Date: Tue, 21 Jul 2015 06:46:29 -0600 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="IB1bpmVEsIgOtK9Gu6PIQIwVbqurqOFUA" Subject: Re: [Qemu-devel] [Qemu-block] [PATCH 1/2] ignore bdrv_flush operation when no qcow2 cache item is dirty List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Qingshu Chen , =?UTF-8?B?5aSP6Jme5paM?= Cc: kwolf@redhat.com, "qemu-devel@nongnu.org" , qemu-block@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --IB1bpmVEsIgOtK9Gu6PIQIwVbqurqOFUA Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 07/20/2015 07:51 PM, Qingshu Chen wrote: > I've made a mistake on the series. Following is the new patch: When re-sending a patch, it's better to start a new thread and include a 'v2' in the subject line. >=20 >>>From ef1079b422eef40a802ca13e249795005efa441d Mon Sep 17 00:00:00 2001 > From: Qingshu Chen <1150163259@qq.com> > Date: Tue, 21 Jul 2015 09:46:08 +0800 > Subject: [PATCH] ignore bdrv_flush operation when no qcow2 cache item i= s > dirty > Signed-off-by: Qingshu Chen >=20 > --- > block/qcow2-cache.c | 16 ++++++++++++---- > block/qcow2.c | 2 ++ > 2 files changed, 14 insertions(+), 4 deletions(-) > if (qcow2_need_accurate_refcounts(s)) { > -- > 1.9.1 >=20 >=20 > 2015-07-20 23:03 GMT+08:00 Eric Blake : >> >> [patches should always be sent to qemu-devel, even if qemu-block is al= so >> in the to/cc list] >> >> On 07/08/2015 01:26 AM, Qingshu Chen wrote: >>> qcow2_cache_flush() writes dirty cache to the disk and invokes > bdrv_flush() Replying to an existing mail, and worse, keeping the old patch in the reply, makes it harder for maintainers to extract your patch. For more hints on patch submissions, see http://wiki.qemu.org/Contribute/SubmitAPatch --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --IB1bpmVEsIgOtK9Gu6PIQIwVbqurqOFUA 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 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJVrj8mAAoJEKeha0olJ0Nqa4MH/iw7QycH5i5vniUsrabUvO6V wyQQlcssp/rvD02D8FRrj94IG+P5VFcnsbFyqsNsr6egZxGhTOAt8aIuy2My4f4P 5Kdxtx9lbE0ycyHpSHQI7z7GEuqOHW8qlS7nZszo6nKaowYgA8zkeMOnknCwguKT 2GBFOD//efRsa/GFnl/j1EcnjD0G1RCimqFO8jSCHAFxSIHUBxbntWe6Qg+wUVzC zCTqf9zyTk6woqrEgdk5PcRJpVFr0u+knStUdNosJXaoJjiKPgluT73A7/O9wNu8 DAloCtDwhbRQaFf5ZrDfdTbldNnBNO4H2jz+DJ3oVUqBe4NYhTQ8KayX6G8EVnU= =HjDb -----END PGP SIGNATURE----- --IB1bpmVEsIgOtK9Gu6PIQIwVbqurqOFUA--