Received: from eggs.gnu.org ([2001:4830:134:3::10]:41655) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ecWjJ-0003MN-73 for qemu-devel@nongnu.org; Fri, 19 Jan 2018 08:29:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ecWjG-0007Ax-1r for qemu-devel@nongnu.org; Fri, 19 Jan 2018 08:29:13 -0500 From: Alberto Garcia In-Reply-To: <6d5d984f-5d25-a2da-b50d-71c7a49e3de3@redhat.com> References: <6d5d984f-5d25-a2da-b50d-71c7a49e3de3@redhat.com> Date: Fri, 19 Jan 2018 14:28:32 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v2 18/32] qcow2: Update qcow2_get_cluster_offset() to support L2 slices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake , qemu-devel@nongnu.org Cc: Kevin Wolf , "Denis V . Lunev" , qemu-block@nongnu.org, Max Reitz On Tue 16 Jan 2018 11:42:45 PM CET, Eric Blake wrote: > Callers like 'qemu-img map' will potentially have to iterate in more > steps over an entire image; but that's not a severe limitation. The > block_status() functions already document that as long as drivers make > progress, callers must be prepared for back-to-back calls that return > the same status, so you are not breaking semantics with a shorter > clamping limit. > > Maybe some of that is worth mentioning in the commit message. Either > way, Yes indeed, for 4KB slices and 64KB clusters each slice can only map 32MB. Then again I don't think that it makes sense to change the slice size for qemu-img map, or in general for anything that does pure sequential I/O. But it's probably worth mentioning in the commit message. Berto