Functions

Journal Level
Transasction Level

The functions here are split into two groups those that affect a journal as a whole, and those which are used to manage transactions

Journal Level

journal_init_dev — creates and initialises a journal structure
journal_init_inode — creates a journal which maps to a inode.
journal_create — Initialise the new journal file
journal_load — Read journal from disk.
journal_destroy — Release a journal_t structure.
journal_check_used_features — Check if features specified are used.
journal_check_available_features — Check feature set in journalling layer
journal_set_features — Mark a given journal feature in the superblock
journal_update_format — Update on-disk journal structure.
journal_flush — Flush journal
journal_wipe — Wipe journal contents
journal_abort — Shutdown the journal immediately.
journal_errno — returns the journal's error state.
journal_clear_err — clears the journal's error state
journal_ack_err — Ack journal err.
journal_recover — recovers a on-disk journal
journal_skip_recovery — Start journal and wipe exiting records

Transasction Level

journal_start — Obtain a new handle.
journal_extend — extend buffer credits.
journal_restart — restart a handle.
journal_lock_updates — establish a transaction barrier.
journal_unlock_updates — release barrier
journal_get_write_access — notify intent to modify a buffer for metadata (not data) update.
journal_get_create_access — notify intent to use newly created bh
journal_get_undo_access — Notify intent to modify metadata with non-rewindable consequences
journal_dirty_data — mark a buffer as containing dirty data to be flushed
journal_dirty_metadata — mark a buffer as containing dirty metadata
journal_forgetbforget for potentially-journaled buffers.
journal_stop — complete a transaction
journal_force_commit — force any uncommitted transactions
journal_try_to_free_buffers — try to free page buffers.
journal_invalidatepage — invalidate a journal page