xfs
[Top] [All Lists]

Re: file corruption

To: Steve Wray <stevew@xxxxxxxxxxxxxxx>
Subject: Re: file corruption
From: Chris Wedgwood <cw@xxxxxxxx>
Date: Sun, 4 Apr 2004 13:53:13 -0700
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <200404050759.02927.stevew@xxxxxxxxxxxxxxx>
References: <406AF7B6.6030405@xxxxxxxxxxxxxxx> <406CC518.1090204@xxxxxxxxxxxxxxx> <20040402015022.GA25936@xxxxxxxxxxxxxxxxxxxxxxx> <200404050759.02927.stevew@xxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Mon, Apr 05, 2004 at 07:59:02AM +1200, Steve Wray wrote:

> This is why I use ext3 with data=journal on /var/log

By default syslog writes synchronously...  however many configurations
have some files marked to write asynchronously.  Does "data=journal"
buy anything over synchronous writes?

> The advantage is that in event of a kernel panic or other hard
> lockup, one can actually find some useful hints in the logs as to
> what went wrong, instead of 'garbage binary data'.

Synchronous writes are probably more useful still.

> I wish XFS had an *option* to journal data...

There is already a massive amount of data written to the log (profile
how much IO there is to a log during a large "rm -rf" or something),
making this worse for a small number of corner-cases where alternative
solutions exist doesn't seem entirely useful as-is.


  --cw


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