From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33151) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bK4Fc-0003AO-Km for qemu-devel@nongnu.org; Mon, 04 Jul 2016 09:49:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bK4FY-0005FS-FY for qemu-devel@nongnu.org; Mon, 04 Jul 2016 09:49:27 -0400 Received: from mx-v6.kamp.de ([2a02:248:0:51::16]:47072 helo=mx01.kamp.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bK4FY-0005FF-4U for qemu-devel@nongnu.org; Mon, 04 Jul 2016 09:49:24 -0400 From: Peter Lieven Message-ID: <577A6955.6020603@kamp.de> Date: Mon, 4 Jul 2016 15:49:09 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Regression: block: Add .bdrv_co_pwrite_zeroes() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "qemu-devel@nongnu.org" Cc: Eric Blake , Kevin Wolf Hi, the above commit: commit d05aa8bb4a8b6aa9a915ec5074fb12ae632d2323 Author: Eric Blake Date: Wed Jun 1 15:10:03 2016 -0600 block: Add .bdrv_co_pwrite_zeroes() introduces a regression (at least for me). The Limits from the iSCSI Block Limits VPD have no requirement of being a power of two. We use Dell Equallogic iSCSI SANs for instance. They have an internal page size of 15MB. And they advertise this page size as max_ws_len, opt_transfer_len and opt_discard_alignment. I think we cannot assert that that these alignments are a power of 2. Peter