.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "JOURNAL_RECOVER" "" "06 October 2005" "" ""
.SH NAME
journal_recover \- recovers a on-disk journal
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int journal_recover (journal_t * \fIjournal\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIjournal\fB\fR
the journal to recover
.SH "DESCRIPTION"
.PP
The primary function for recovering the log contents when mounting a
journaled device.
.PP
Recovery is done in three passes. In the first pass, we look for the
end of the log. In the second, we assemble the list of revoke
blocks. In the third and final pass, we replay any un-revoked blocks
in the log.