Received: from eggs.gnu.org ([2001:4830:134:3::10]:44526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fqf0e-0002kI-Pc for qemu-devel@nongnu.org; Fri, 17 Aug 2018 09:41:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fqf0e-0000nD-2X for qemu-devel@nongnu.org; Fri, 17 Aug 2018 09:41:48 -0400 References: <20180802144834.520904-1-eblake@redhat.com> <20180802144834.520904-2-eblake@redhat.com> From: Vladimir Sementsov-Ogievskiy Message-ID: <49149b03-e63e-51e5-9b88-c1d1aecad4c5@virtuozzo.com> Date: Fri, 17 Aug 2018 16:41:35 +0300 MIME-Version: 1.0 In-Reply-To: <20180802144834.520904-2-eblake@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Subject: Re: [Qemu-devel] [PATCH 1/4] block: Add bdrv_get_request_alignment() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake , qemu-devel@nongnu.org Cc: Kevin Wolf , rjones@redhat.com, qemu-block@nongnu.org, Max Reitz 02.08.2018 17:48, Eric Blake wrote: > The next patch needs access to a device's minimum permitted > alignment, since NBD wants to advertise this to clients. Add > an accessor function, borrowing from blk_get_max_transfer() > for accessing a backend's block limits. > > Signed-off-by: Eric Blake Reviewed-by: Vladimir Sementsov-Ogievskiy -- Best regards, Vladimir