Received: from eggs.gnu.org ([2001:4830:134:3::10]:38245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bz4L0-0000ws-Ff for qemu-devel@nongnu.org; Tue, 25 Oct 2016 12:12:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bz4Kz-0001iz-Jp for qemu-devel@nongnu.org; Tue, 25 Oct 2016 12:12:30 -0400 References: <1469129688-22848-1-git-send-email-eblake@redhat.com> <1469129688-22848-5-git-send-email-eblake@redhat.com> <20160727072543.GF23258@ad.usersys.redhat.com> <5799704D.9060408@redhat.com> <18c31752-8399-1763-a42e-c2b924920b55@redhat.com> <12c8e895-f8ab-825f-82e7-4a2c8cc22de5@kamp.de> <9078195b-160a-e18f-b8ef-c9f2ba712416@redhat.com> <4cd56bb4-fa0d-493c-18b1-4cec0467a6bf@kamp.de> <567caf97-24bd-b5e6-a999-405ef01b2c21@redhat.com> <78e7e5d9-4f43-c50d-4531-de5c1a0e1a83@kamp.de> <25f42457-369e-152e-edce-44a4835c6c68@redhat.com> <3a8e046e-7a31-bdff-4dcc-7b3d42ab00a2@redhat.com> From: Eric Blake Message-ID: <24fe0f9a-e512-1629-9f8c-78021b0b1be3@redhat.com> Date: Tue, 25 Oct 2016 11:12:21 -0500 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="evto4BADgA8AAQTeKCRJN5XLgR8MGJpxM" Subject: Re: [Qemu-devel] [PATCH 4/4] block: Cater to iscsi with non-power-of-2 discard List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , Peter Lieven , Fam Zheng Cc: qemu-devel@nongnu.org, qemu-block@nongnu.org, Stefan Hajnoczi , Kevin Wolf , Max Reitz This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --evto4BADgA8AAQTeKCRJN5XLgR8MGJpxM From: Eric Blake To: Paolo Bonzini , Peter Lieven , Fam Zheng Cc: qemu-devel@nongnu.org, qemu-block@nongnu.org, Stefan Hajnoczi , Kevin Wolf , Max Reitz Message-ID: <24fe0f9a-e512-1629-9f8c-78021b0b1be3@redhat.com> Subject: Re: [PATCH 4/4] block: Cater to iscsi with non-power-of-2 discard References: <1469129688-22848-1-git-send-email-eblake@redhat.com> <1469129688-22848-5-git-send-email-eblake@redhat.com> <20160727072543.GF23258@ad.usersys.redhat.com> <5799704D.9060408@redhat.com> <18c31752-8399-1763-a42e-c2b924920b55@redhat.com> <12c8e895-f8ab-825f-82e7-4a2c8cc22de5@kamp.de> <9078195b-160a-e18f-b8ef-c9f2ba712416@redhat.com> <4cd56bb4-fa0d-493c-18b1-4cec0467a6bf@kamp.de> <567caf97-24bd-b5e6-a999-405ef01b2c21@redhat.com> <78e7e5d9-4f43-c50d-4531-de5c1a0e1a83@kamp.de> <25f42457-369e-152e-edce-44a4835c6c68@redhat.com> <3a8e046e-7a31-bdff-4dcc-7b3d42ab00a2@redhat.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/25/2016 09:36 AM, Paolo Bonzini wrote: >=20 >=20 > On 25/10/2016 16:35, Eric Blake wrote: >> So your argument is that we should always pass down every unaligned >> less-than-optimum discard request all the way to the hardware, rather >> than dropping it higher in the stack, even though discard requests are= >> already advisory, in order to leave the hardware as the ultimate >> decision on whether to ignore the unaligned request? >=20 > Yes, I agree with Peter as to this. Okay, I'll work on patches. I think it counts as bug fix, so appropriate even if I miss soft freeze (I'd still like to get NBD write zero support into 2.8, since it already missed 2.7, but that one is still awaiting review with not much time left). --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --evto4BADgA8AAQTeKCRJN5XLgR8MGJpxM 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/ iQEcBAEBCAAGBQJYD4RlAAoJEKeha0olJ0Nqiy0IAIqahkrbEVsFAjThnmysLlEO 7xHKAbT3NSBeAbUp/jO/MP6HsLzgodlQHl3tA1dskA9oanCnoseYk+1Tj30+xya7 KYiyNXOxcANP5tY8EuUaQXuxeNQfRYD3qMxTb8Wu41ryx/UeK/GgYqyDuErWxTAZ TXzi+JdEtekcjHY5UP8gfMxg2CjMJOUvNkJNqDXa49R4WWOy+yK94729avvZ6ANM A27J2ZDEleKEUXyQZ0ZTia8h6/NGhgpQ+567bPyOERCyAuVaL/UKMDwltaKJ+d7r IPEoEMgtjJ5OdRpAUdFyQIghq39nmkJt1YkHsJSU5ndITSC0n4m5YYhqMlBE94U= =6LmA -----END PGP SIGNATURE----- --evto4BADgA8AAQTeKCRJN5XLgR8MGJpxM--