xfs
[Top] [All Lists]

Re: XFS corruption during power-blackout

To: <rhowe@xxxxxxxxxxxx>
Subject: Re: XFS corruption during power-blackout
From: "Al Boldi" <a1426z@xxxxxxxxx>
Date: Sat, 16 Jul 2005 10:02:41 +0300
Cc: <linux-kernel@xxxxxxxxxxxxxxx>, <linux-fsdevel@xxxxxxxxxxxxxxx>, <linux-xfs@xxxxxxxxxxx>, "'Nathan Scott'" <nathans@xxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
Thread-index: AcWJ1FuXffNb7HvTTDeY4O4AIvjIuQ==
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


<Prev in Thread] Current Thread [Next in Thread>