Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQOQV-0001u0-DE for qemu-devel@nongnu.org; Tue, 05 Aug 2008 11:26:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQOQT-0001rI-U9 for qemu-devel@nongnu.org; Tue, 05 Aug 2008 11:26:18 -0400 Received: from [199.232.76.173] (port=41588 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQOQT-0001qs-FD for qemu-devel@nongnu.org; Tue, 05 Aug 2008 11:26:17 -0400 Received: from ecfrec.frec.bull.fr ([129.183.4.8]:59341) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KQOQT-0008Lm-8s for qemu-devel@nongnu.org; Tue, 05 Aug 2008 11:26:17 -0400 Subject: Re: [Qemu-devel] [patch 2/5][v2] Divide get_cluster_offset() From: Laurent Vivier In-Reply-To: <48986E34.203@suse.de> References: <20080729141352.573798859@bull.net> <20080729141447.315247848@bull.net> <48986E34.203@suse.de> Content-Type: text/plain; charset=utf-8 Date: Tue, 05 Aug 2008 17:25:10 +0200 Message-Id: <1217949910.3865.31.camel@frecb07144> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: qemu-devel@nongnu.org Le mardi 05 ao=C3=BBt 2008 =C3=A0 17:13 +0200, Kevin Wolf a =C3=A9crit : [...] > Why are you moving that code around? I don't think it's needed for the > get_cluster_offset/allocate_cluster_offset split. You're just > duplicating the write and return. You're right but doing this here allows to clearly split compressed case and normal case. It is doing for following patches. =20 > Otherwise, the patch looks fine and makes the whole thing much cleaner. Thank you, Laurent --=20 ----------------- Laurent.Vivier@bull.net ------------------ "La perfection est atteinte non quand il ne reste rien =C3=A0 ajouter mais quand il ne reste rien =C3=A0 enlever." Saint Exup=C3=A9ry