From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49274) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxG30-0004s8-Mr for qemu-devel@nongnu.org; Thu, 20 Oct 2016 12:18:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxG2z-00042s-Tq for qemu-devel@nongnu.org; Thu, 20 Oct 2016 12:18:26 -0400 References: <1476971169-31604-1-git-send-email-kwolf@redhat.com> <1476971169-31604-3-git-send-email-kwolf@redhat.com> From: Eric Blake Message-ID: Date: Thu, 20 Oct 2016 11:18:18 -0500 MIME-Version: 1.0 In-Reply-To: <1476971169-31604-3-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="AcC6RQs5LNDk8UpRnsipCgITA0keAEN6S" Subject: Re: [Qemu-devel] [PATCH 2/9] block: Use blk_co_pdiscard() for all BB level discard List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , qemu-block@nongnu.org Cc: pbonzini@redhat.com, qemu-devel@nongnu.org, mreitz@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --AcC6RQs5LNDk8UpRnsipCgITA0keAEN6S From: Eric Blake To: Kevin Wolf , qemu-block@nongnu.org Cc: pbonzini@redhat.com, qemu-devel@nongnu.org, mreitz@redhat.com Message-ID: Subject: Re: [Qemu-devel] [PATCH 2/9] block: Use blk_co_pdiscard() for all BB level discard References: <1476971169-31604-1-git-send-email-kwolf@redhat.com> <1476971169-31604-3-git-send-email-kwolf@redhat.com> In-Reply-To: <1476971169-31604-3-git-send-email-kwolf@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/20/2016 08:46 AM, Kevin Wolf wrote: > All read/write functions already have a single coroutine-based function= > on the BlockBackend level through which all requests go (no matter what= > API style the external caller used) and which passes the requests down > to the block node level. >=20 > This patch extends this mode of operation to discards. >=20 > Signed-off-by: Kevin Wolf > --- > block/block-backend.c | 30 ++++++++++++++++++------------ > 1 file changed, 18 insertions(+), 12 deletions(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --AcC6RQs5LNDk8UpRnsipCgITA0keAEN6S 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/ iQEbBAEBCAAGBQJYCO5LAAoJEKeha0olJ0NqiVwH+OD3ebKIStFqqJKQ7dHBv07r oAgLtNgYGTVZjrbtTnU9fyfz5VVW/nAEsyWfBDGVt2QtmAH4TCwE/JACMcCxBN27 C3WCMtj7U1OK1bNUZ6DBTOrGTlpLpvo4iYhgk9iJtqLkpyR9Fuqah/e8kmp9kK2k t2fpdUrfHGZ3PNXxAbv5IyEifMScMDPPpOCfrslOlVRjSV/kSKgZp+/p/PCUPDH0 ZaZz67VdTVzc5xuFCgpXST9XJTC2lWxm+USREbkd148w1CROHwnw36Kga+AUY1Bq fXmAbqHTZ+3nwLfZTmHXBgU7i9bip+LI4yBEVqvvMEKmI9WtPRdPwcRmjCddVg== =NG9+ -----END PGP SIGNATURE----- --AcC6RQs5LNDk8UpRnsipCgITA0keAEN6S--