From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0oUv-0005jV-4a for qemu-devel@nongnu.org; Wed, 19 Apr 2017 08:14:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d0oUu-0005mk-AU for qemu-devel@nongnu.org; Wed, 19 Apr 2017 08:14:13 -0400 Date: Wed, 19 Apr 2017 20:14:01 +0800 From: Fam Zheng Message-ID: <20170419121401.GA9638@lemon.lan> References: <1491057878-27868-1-git-send-email-ashijeetacharya@gmail.com> <1491057878-27868-2-git-send-email-ashijeetacharya@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH v3 1/6] vmdk: Move vmdk_find_offset_in_cluster() to the top List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ashijeet Acharya Cc: Kevin Wolf , qemu block , Stefan Hajnoczi , QEMU Developers , Max Reitz , John Snow On Mon, 04/10 18:34, Ashijeet Acharya wrote: > On Sat, Apr 1, 2017 at 8:14 PM, Ashijeet Acharya > wrote: > > Move the existing vmdk_find_offset_in_cluster() function to the top of > > the driver. Also, introduce a new helper function size_to_clusters() > > which returns the number of clusters for a given size in bytes. Here, > > we leave the last cluster as we need to perform COW for that one. > > > I will remove the trailing part of the commit message in v4 as there > is no size_to_clusters() in this patch anymore, I forgot to update it! With that updated, you can add my: Reviewed-by: Fam Zheng