Received: from eggs.gnu.org ([2001:4830:134:3::10]:36163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMcS3-0002xb-27 for qemu-devel@nongnu.org; Thu, 19 Sep 2013 07:31:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VMcRu-0003fv-HR for qemu-devel@nongnu.org; Thu, 19 Sep 2013 07:31:15 -0400 Received: from mail-ee0-x229.google.com ([2a00:1450:4013:c00::229]:35756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMcRu-0003fp-Am for qemu-devel@nongnu.org; Thu, 19 Sep 2013 07:31:06 -0400 Received: by mail-ee0-f41.google.com with SMTP id d17so4166159eek.28 for ; Thu, 19 Sep 2013 04:31:05 -0700 (PDT) Date: Thu, 19 Sep 2013 13:31:02 +0200 From: Stefan Hajnoczi Message-ID: <20130919113102.GG22814@stefanha-thinkpad.redhat.com> References: <1379502855-27759-1-git-send-email-famz@redhat.com> <1379502855-27759-3-git-send-email-famz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1379502855-27759-3-git-send-email-famz@redhat.com> Subject: Re: [Qemu-devel] [PATCH 2/2] vmdk: fix cluster size check for flat extents List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: kwolf@redhat.com, asias@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com On Wed, Sep 18, 2013 at 07:14:15PM +0800, Fam Zheng wrote: > We use the extent size as cluster size for flat extents (where no L1/L2 > table is allocated so it's safe). Why is the extent size passed as the cluster size parameter? The cleaner fix would be to stop passing it as cluster size :). Stefan