Metadata journaling support added to FFS

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <netbsd-announce@...>
Date: Thursday, July 31, 2008 - 3:12 pm

Metadata journaling support added to FFS
========================================

Simon Burge has just added metadata journaling to the FFS (fast file system)
code to NetBSD-current.

The journaling code, known as WAPBL - Write Ahead Physical Block Logging -
was originally written by Darrin B. Jewell for Wasabi Systems, Inc. [1],
and was contributed by Wasabi to the NetBSD community earlier this year.
Wasabi has been shipping WAPBL-enabled products since 2003.

Simon Burge, Greg Oster, Antti Kantee, and Andrew Doran spent quite some
time on integrating this code into NetBSD-current and enhancing it to allow
automatic creation of the journal log area inside existing filesystems to
ease conversion.

They also did some performance benchmarks and WAPBL performs very close to
soft-dependencies mounts, and only slightly slower than (unsafe) async
mounts. In case of a crash or unexpected power loss however, the journaled
file system will not need a lengthy file system check at boot time, but
instead the kernel will replay the log within seconds. This allows faster
crash recovery, less overall downtime and higher availability.

Converting an existing system to use the log feature is as easy as updating
(both kernel and userland), making sure the kernel option WAPBL is selected
(this is the default for GENERIC kernels now), adding a "log" option to
/etc/fstab and rebooting. Note that WAPBL is not compatible with
soft-dependencies, so please ensure that you first remove the "softdep"
option if present. See the wapbl(4) manual page for more information.

The WAPBL feature will be available in the upcoming NetBSD 5.0 release.

Many thanks to Wasabi Systems, Inc. for contributing this code, everyone that
helped to integrate it and especially Simon Burge for his work on the
in-filesystem journal.

Jared D. McNeill
The NetBSD Foundation

[1] http://www.wasabisystems.com/

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
NetBSD 1.6.1 release process has begun, Jan Schaumann, (Thu Jan 30, 1:52 pm)
NetBSD Security Advisory 2009-011: ISC DHCP server Denial of..., NetBSD Security Officer, (Tue Jul 28, 5:51 pm)
Summary of Changes to the Packages Collection in March 2005, Alistair Crooks, (Tue May 10, 11:19 am)
Thread scheduling and related interfaces in NetBSD 5.0, Mindaugas Rasiukevicius, (Sun May 3, 4:45 pm)
New, D. Adam Karim, (Sat Sep 3, 7:28 am)
Announcing NetBSD 2.1, Jeff Rizzo, (Wed Nov 2, 4:28 pm)
NetBSD Security Advisory 2006-010: Sendmail race condition, NetBSD Security-Officer, (Wed Mar 29, 9:32 pm)
NetBSD and the Google Summer of Code 2007 Summary, Mark Weinem, (Mon Oct 8, 8:59 pm)
NetBSD Security Advisory 2006-014: An audio subsystem race c..., NetBSD Security-Officer, (Thu Apr 27, 4:40 pm)
The NetBSD 1.6 Release Process has begun!, Todd Vierling, (Tue May 28, 10:50 am)
The pkgsrc-2008Q3 Release, Alistair Crooks, (Tue Oct 14, 7:45 am)
Announcing NetBSD 1.5.3, , (Mon Jul 22, 4:57 pm)
cvsweb is offline on this weekend, SODA Noriyuki, (Fri Jul 28, 7:44 am)
NetBSD Security Advisory 2006-022: BIND recursive query and ..., NetBSD Security-Officer, (Thu Sep 21, 5:45 pm)
Metadata journaling support added to FFS, Jared D. McNeill, (Thu Jul 31, 3:12 pm)