gjournal and Softupdates

Teufel bsd at kuehlbox.de
Wed Sep 13 08:28:56 PDT 2006


Pawel Jakub Dawidek wrote:
>>> - todays desktop drives can lie about writing data. SoftUpdates relies
>>> on some assumptions about when the data is physically written to
>>> media, and those are not always valid today
>>>       
>> I think journaling relies on the same assumptions.
>>     
>
> Not gjournal, because it uses BIO_FLUSH I/O requests which flushes disk
> write cache when needed
so when the crash occur exactly when BIO_FLUSH is sent or while the 
cache is flushing, there is still no corruption possbile?  If so, this 
would be an advantage over SU, as it does surely not use the new 
introduced BIO_FLUSH. In the other hand i've seen couple of other JFS 
that went corrupt for "no reason". I don't want to be paranoid, but i 
really want to be "sure" that the design is trustable.


More information about the freebsd-stable mailing list