[Top] [All Lists]

Re: More on write caching

To: linux-xfs@xxxxxxxxxxx
Subject: Re: More on write caching
From: Andrew Klaassen <ak@xxxxxxx>
Date: Fri, 6 Jul 2001 13:51:54 -0400
In-reply-to: <200107061738.f66Hcpb09219@xxxxxxxxxxxxxxxxxxxx>
Mail-followup-to: linux-xfs@xxxxxxxxxxx
References: <200107061738.f66Hcpb09219@xxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.3.18i
On Fri, Jul 06, 2001 at 12:38:51PM -0500, 
Steve Lord wrote:

> > With ext2, the fsck would attempt to fix metadata problems
> > on bootup; on the other hand, with xfs, if write caching
> > resulted in a corrupted log, would the simple log replay
> > that xfs does on mount perhaps fail to catch possible
> > metadata problems?

> Yes, and the same will be true for all write behind journalled
> filesystems, if the log does not make it to disk when the
> driver says it has then in theory a subsequent metadata write
> could make it out to the media. A crash at this point would
> mean that part of a transaction had made it to disk, but the
> rest which only existed in the disks internal cache would not.

I assume that a manual xfs_repair would be needed at that
point... (?)

Andrew Klaassen

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