On Sun, 2004-04-04 at 20:59, Steve Wray wrote:
> > some fs' will journal all data though (reiserfs and ext3 can do
> > this), but it often comes at a significant performance penalty for no
> > real gain (and sometimes causes other problems like seeing old/stale
> > data)
> This is why I use ext3 with data=journal on /var/log
Why? The default "data=ordered" mode for ext3 is 100% identical to
data=journal for the sorts of append-only file activity that you usually
see in /var/log. The only visible difference between data=ordered and
data=journal that you can expect after a power-failure is that for
update-in-place operations, such as database updates, data=journal
preserves strict write ordering but data=ordered does not.
For newly allocated data --- new files or appends to old files ---
data=ordered gives exactly the same benefit, without the performance
penalty of writing the data twice.