1. NAME

journal_recover - recovers a on-disk journal

2. SYNOPSIS

int journal_recover(journal_t *  journal );

3. ARGUMENTS

journal
    the journal to recover

4. DESCRIPTION

The primary function for recovering the log contents when mounting a journaled device.

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.

5. AUTHORS

Roger Gammans <>
    Author.

Stephen Tweedie <>
    Author.

6. COPYRIGHT