From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KLIQ0-0000wD-TW for qemu-devel@nongnu.org; Tue, 22 Jul 2008 10:00:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KLIPz-0000vN-05 for qemu-devel@nongnu.org; Tue, 22 Jul 2008 10:00:44 -0400 Received: from [199.232.76.173] (port=54674 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLIPy-0000vK-Mk for qemu-devel@nongnu.org; Tue, 22 Jul 2008 10:00:42 -0400 Received: from mail2.shareable.org ([80.68.89.115]:47349) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KLIPy-0004K5-4A for qemu-devel@nongnu.org; Tue, 22 Jul 2008 10:00:42 -0400 Received: from jamie by mail2.shareable.org with local (Exim 4.63) (envelope-from ) id 1KLIlS-0005UM-Uc for qemu-devel@nongnu.org; Tue, 22 Jul 2008 15:22:54 +0100 Date: Tue, 22 Jul 2008 15:22:54 +0100 From: Jamie Lokier Subject: Re: [Qemu-devel] qcow2 - safe on kill? safe on power fail? Message-ID: <20080722142254.GB20829@shareable.org> References: <47CF0E0C.9030807@quinthar.com> <47CF16C5.6040102@codemonkey.ws> <20080721181031.GA31773@shareable.org> <4884E6F1.5020205@codemonkey.ws> <48850A99.7070005@codemonkey.ws> <48857926.5020708@qumranet.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48857926.5020708@qumranet.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Avi Kivity wrote: > >Seems like a band-aid to me as SIGKILL is still an issue. Plus it > >would involve modifying all disk formats, not just QCOW2. I'd rather > >see proper journal support added to QCOW2 myself. > > Journalling is so out of fashion. It's better to sequence the > operations so that failure results in a leak instead of corruption. That would be find. If there's too much leakage after a time, it would be easy enough to "qemu convert" to recreate the image without leakage. Or trees, trees are the new journals... :-) Still there's always the possibility of errors to recover from, no matter how careful. -- Jamie