From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uudj7-0006Ip-6w for qemu-devel@nongnu.org; Thu, 04 Jul 2013 03:13:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uudj4-0007D4-FJ for qemu-devel@nongnu.org; Thu, 04 Jul 2013 03:13:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38000) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uudj4-0007Cs-7i for qemu-devel@nongnu.org; Thu, 04 Jul 2013 03:13:10 -0400 Date: Thu, 4 Jul 2013 09:13:00 +0200 From: Stefan Hajnoczi Message-ID: <20130704071300.GA2584@stefanha-thinkpad.redhat.com> References: <1371738392-9594-1-git-send-email-benoit@irqsave.net> <1371738392-9594-2-git-send-email-benoit@irqsave.net> <20130702144224.GF9870@stefanha-thinkpad.redhat.com> <20130702212355.GB4985@irqsave.net> <20130703081235.GD16585@stefanha-thinkpad.muc.redhat.com> <20130703125327.GC5482@irqsave.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20130703125327.GC5482@irqsave.net> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [RFC V8 01/24] qcow2: Add journal specification. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?iso-8859-1?Q?Beno=EEt?= Canet Cc: kwolf@redhat.com, qemu-devel@nongnu.org On Wed, Jul 03, 2013 at 02:53:27PM +0200, Beno=EEt Canet wrote: > > By the way, I don't know much about journalling techniques. So I'm > > asking you these questions so that either you can answer them straigh= t > > away or because they might warrant a look at existing journal > > implementations like: >=20 > I tried to so something simple and performing for the deduplication usa= ge. >=20 > That explain that there is no concept of transaction and that the journ= al's > block are flushed asynchronously in order to have an high insertion rat= e. >=20 > I agree with your previous comment is more a log than a journal. Simple is good. Even for deduplication alone, I think data integrity is critical - otherwise we risk stale dedup metadata pointing to clusters that are unallocated or do not contain the right data. So the journal will probably need to follow techniques for commits/checksums. Stefan