Received: from eggs.gnu.org ([2001:4830:134:3::10]:42063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDPu5-0007f6-Of for qemu-devel@nongnu.org; Thu, 16 Jun 2016 01:31:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bDPu4-0002bO-Uy for qemu-devel@nongnu.org; Thu, 16 Jun 2016 01:31:45 -0400 Date: Thu, 16 Jun 2016 13:31:33 +0800 From: Fam Zheng Message-ID: <20160616053133.GN12178@ad.usersys.redhat.com> References: <1465939839-30097-1-git-send-email-eblake@redhat.com> <1465939839-30097-13-git-send-email-eblake@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1465939839-30097-13-git-send-email-eblake@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 12/17] block: Set request_alignment during .bdrv_refresh_limits() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: qemu-devel@nongnu.org, kwolf@redhat.com, Stefan Hajnoczi , qemu-block@nongnu.org, Max Reitz On Tue, 06/14 15:30, Eric Blake wrote: > We want to eventually stick request_alignment alongside other > BlockLimits, but first, we must ensure it is populated at the > same time as all other limits, rather than being a special case > that is set only when a block is first opened. > > Add a .bdrv_refresh_limits() to all four of our legacy devices > that will always be sector-only (bochs, cloop, dmg, vvfat), in > spite of their recent conversion to expose a byte interface. > > Signed-off-by: Eric Blake Reviewed-by: Fam Zheng