LWN.net Logo

soft updates [was: Better than POSIX?]

soft updates [was: Better than POSIX?]

Posted Mar 26, 2009 13:11 UTC (Thu) by doran (guest, #57557)
In reply to: Better than POSIX? by jeleinweber
Parent article: Better than POSIX?

For your information, NetBSD just replaced soft updates with journaling.

Soft updates does not understand hardware write-back caches, NetBSD's journaling does. Given than nearly all commodity systems have write back caches at some level in the I/O path nowadays, and need them for good performance, this is important.

Soft updates was quite complicated code with integration issues, making it very difficult to fix some of the bugs with it. This was mainly down to its structure, which was suited to commercialization (soft updates was initially a commercial offering). It was not necessarily tailored to the BSD systems.

Additionally, journaling gives some nice benefits like no fsck, and fully atomic rename. No fsck is important to NetBSD for the embedded role, and elsewhere is a much bigger story than it was when soft updates came about due to the explosion in storage volume size.


(Log in to post comments)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds