LWN.net Logo

Barriers and journaling filesystems

Barriers and journaling filesystems

Posted May 22, 2008 17:20 UTC (Thu) by jordanb (guest, #45668)
Parent article: Barriers and journaling filesystems

Why not insert a barrier *only* when the commit record is inserted before the journaled data
on the disk? I can't imagine that happens too often, so it should cause few barriers will be
inserted. It shouldn't have a terrible impact on performance, but it *would* help deal with
the edge case of a journal write wrapping on the commit record causing the file system to be
inconsistent.


(Log in to post comments)

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