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.