Received: from eggs.gnu.org ([2001:4830:134:3::10]:55187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c44Br-0001ww-3f for qemu-devel@nongnu.org; Tue, 08 Nov 2016 06:03:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c44Bn-0003Wz-6M for qemu-devel@nongnu.org; Tue, 08 Nov 2016 06:03:43 -0500 Received: from mx-v6.kamp.de ([2a02:248:0:51::16]:56441 helo=mx01.kamp.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c44Bm-0003VA-Sj for qemu-devel@nongnu.org; Tue, 08 Nov 2016 06:03:39 -0500 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> <24fe0f9a-e512-1629-9f8c-78021b0b1be3@redhat.com> From: Peter Lieven Message-ID: <4601924b-2081-394f-16af-b3595130e429@kamp.de> Date: Tue, 8 Nov 2016 12:03:30 +0100 MIME-Version: 1.0 In-Reply-To: <24fe0f9a-e512-1629-9f8c-78021b0b1be3@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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: Eric Blake , Paolo Bonzini , Fam Zheng Cc: qemu-devel@nongnu.org, qemu-block@nongnu.org, Stefan Hajnoczi , Kevin Wolf , Max Reitz Am 25.10.2016 um 18:12 schrieb Eric Blake: > On 10/25/2016 09:36 AM, Paolo Bonzini wrote: >> >> 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? >> 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). > Hi Eric, have you had time to look at this? If you need help, let me know. Peter