Received: from eggs.gnu.org ([2001:4830:134:3::10]:43281) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNLI7-00053p-LV for qemu-devel@nongnu.org; Fri, 08 Dec 2017 11:14:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eNLI5-0004q1-JL for qemu-devel@nongnu.org; Fri, 08 Dec 2017 11:14:23 -0500 Received: from mx-v6.kamp.de ([2a02:248:0:51::16]:54269 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 1eNLI5-0004oT-9o for qemu-devel@nongnu.org; Fri, 08 Dec 2017 11:14:21 -0500 References: <1512733868-9009-1-git-send-email-pl@kamp.de> <1512733868-9009-3-git-send-email-pl@kamp.de> From: Peter Lieven Message-ID: <4b0586ee-45cb-cfb1-288c-bcccf81c5212@kamp.de> Date: Fri, 8 Dec 2017 17:14:16 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US Subject: Re: [Qemu-devel] [PATCH 2/2] block/iscsi: only report an iSCSI Failure if we don't handle it gracefully List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake , qemu-devel@nongnu.org, qemu-block@nongnu.org Cc: kwolf@redhat.com, pbonzini@redhat.com, ronniesahlberg@gmail.com, mreitz@redhat.com Am 08.12.2017 um 16:11 schrieb Eric Blake: > On 12/08/2017 05:51 AM, Peter Lieven wrote: >> we currently report an "iSCSI Failure" in iscsi_co_generic_cb if the task >> hasn't completed with SCSI_STATUS_GOOD. However, we expect a failure in >> some cases and handle it gracefully. This is the case for misaligned UNMAPs > Is the block layer still capable of producing a misaligned UNMAP? If > so, that's probably a bug in the block layer for not honoring the block > limit geometries. In theory there should be none. I think we can drop this code. Peter