From: "Al Boldi" Subject: Re: XFS corruption during power-blackout Date: Sat, 16 Jul 2005 10:02:41 +0300 Message-ID: <200507160703.KAA18276@raad.intranet> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: , , , "'Nathan Scott'" Return-path: Received: from [213.184.187.212] ([213.184.187.212]:51461 "EHLO raad.intranet") by vger.kernel.org with ESMTP id S262013AbVGPHEQ (ORCPT ); Sat, 16 Jul 2005 03:04:16 -0400 To: Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Russell Howe wrote: { XFS only journals metadata, not data. So, you are supposed to get a consistent filesystem structure, but your data consistency isn't guaranteed. } What did XFS do to detect filedata-corruption before it was added to the vanilla-kernel? Maybe it did not update the metadata before the fs was sync'd? Really, it should wait for fs sync and then update metadata! This would imply 2 syncs in succession to ensure updated filedata/metadata consistency, which is OK. Is it possible to instruct XFS to delay metadata update until after a filedata sync? Thanks! Al