Sidetracked: why gjournal over soft-updates (Was: Re: UFS2

Tore Lund tl32 at next.online.no
Sat Apr 19 21:33:59 UTC 2008


Ivan Voras wrote:
> 1) Soft-updates were created in a different time, with different
> requirements than modern hard drives (especially desktop hard drives)
> can deliver. Especially, SU requires that data it once sends to the
> drive gets written immediately, not cached by the drive. Modern
> desktop drives don't do that so journaling is today actually safer
> than SU 

The caching can be stopped by putting "hw.ata.wc=0" into
/boot/loader.conf.  Doesn't that settle this point about safety?

> For details, you can search the mailing list archives - what I've said
> is nothing original and the topic has been talked about a lot.

Since we use softupdates and others use gjournal, one suspects that
there are reasons why "real" journaling systems have not been adopted.
Once the subject has been raised, it would be nice to get an up-to-date
view from someone in the know  - as opposed to having to leaf through
hundreds of old threads on the topic.  TIA.
-- 
    Tore





More information about the freebsd-questions mailing list