gjournal & async

Pawel Jakub Dawidek pjd at FreeBSD.org
Sun Apr 22 12:39:57 UTC 2007


On Sun, Apr 22, 2007 at 02:43:29AM +0200, Ivan Voras wrote:
> How does gjournal guarantee corectness if UFS is mounted async? AFAIK
> the "async" handling of IO requests is done by the UFS, the writes are
> not rescheduled at the GEOM layer?

GJournal has some minimum knowledge about VFS. Before it does journal
switch, it synchronize and suspends file system. This way we can be sure
everything is on disk in a consistent state.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20070422/545c8558/attachment.pgp


More information about the freebsd-geom mailing list