Skip to main content

Welcome to FOSSLC

FOSSLC is a non-profit corporation dedicated to education, community, and business development involving open source technologies. Read more about FOSSLC

Journaled Soft-Updates

Printer-friendly version

Location

University of Ottawa Ottawa, ON
Canada
45° 24' 41.6592" N, 75° 41' 53.4984" W

Adding "journaling lite'' to soft updates and its incorporation into the FreeBSD fast filesystem
BlueCloth error

Because soft updates prevent most inconsistencies, the journaling need only deal with tracking those inconsistencies that soft updates fails to address. Specifically, the journal contains the information needed to recover the block and inode resources that have been freed but whose freed status failed to make it to disk before a system failure. After a crash, a variant of the venerable fsck program runs through the journal to identify and free the lost resources. Only if a corruption of the log is detected is it necessary to run background fsck. The journal is tiny, 16Mb is usually enough independent of filesystem size. Although journal processing needs to be done before restarting, the processing time is typically just a few seconds and in the worst case a minute. It is not necessary to build a new filesystem to use soft-updates journalling. The addition or deletion of soft-updates journaling to existing FreeBSD fast filesystems is done using the tunefs program.

Minutes: 
64
Event: 
BSDCan2010
Speaker: 
Kirk McKusick
Filmed: 
14.05.2010
Key Words: 
BSD
Journaling
Filesystem

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.