From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35193) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlZWt-0006TC-81 for qemu-devel@nongnu.org; Fri, 24 Apr 2015 05:04:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YlZWp-00074u-39 for qemu-devel@nongnu.org; Fri, 24 Apr 2015 05:04:11 -0400 Message-ID: <553A06F7.5030707@redhat.com> Date: Fri, 24 Apr 2015 11:03:51 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1429864436-17711-1-git-send-email-famz@redhat.com> <1429864436-17711-2-git-send-email-famz@redhat.com> <553A03E2.7030708@redhat.com> <20150424090251.GA18658@ad.nay.redhat.com> In-Reply-To: <20150424090251.GA18658@ad.nay.redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/3] scsi-disk: Limit zero write request to SCSI_WRITE_SAME_MAX List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: Kevin Wolf , Stefan Hajnoczi , qemu-devel@nongnu.org, qemu-block@nongnu.org, qemu-stable@nongnu.org On 24/04/2015 11:02, Fam Zheng wrote: > >> > However, it shouldn't be a problem for >> > the rest of the series. > It is. The request has to be splitted to aligned part and unaligned part > because the latter requires a buffer, as we don't like unbounded allocation. Yes, I found that out after reading patch 2. :( Paolo