1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Functions</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux Filesystems API"><link rel="up" href="LinuxJDBAPI.html" title="Chapter 6. The Linux Journalling API"><link rel="prev" href="API-struct-journal-s.html" title="struct journal_s"><link rel="next" href="API-jbd2-journal-force-commit-nested.html" title="jbd2_journal_force_commit_nested"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Functions</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-journal-s.html">Prev</a> </td><th width="60%" align="center">Chapter 6. The Linux Journalling API</th><td width="20%" align="right"> <a accesskey="n" href="API-jbd2-journal-force-commit-nested.html">Next</a></td></tr></table><hr></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="functions"></a>Functions</h2></div></div></div><div class="toc"><dl class="toc"><dt><span class="sect2"><a href="functions.html#journal_level">Journal Level</a></span></dt><dt><span class="sect2"><a href="functions.html#transaction_level">Transasction Level</a></span></dt></dl></div><p> 2 The functions here are split into two groups those that 3 affect a journal as a whole, and those which are used to 4 manage transactions 5 </p><div class="sect2"><div class="titlepage"><div><div><h3 class="title"><a name="journal_level"></a>Journal Level</h3></div></div></div><div class="toc"><dl class="toc"><dt><span class="refentrytitle"><a href="API-jbd2-journal-force-commit-nested.html"><span class="phrase">jbd2_journal_force_commit_nested</span></a></span><span class="refpurpose"> — 6 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2-journal-force-commit.html"><span class="phrase">jbd2_journal_force_commit</span></a></span><span class="refpurpose"> — 7 force any uncommitted transactions 8 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2-journal-init-dev.html"><span class="phrase">jbd2_journal_init_dev</span></a></span><span class="refpurpose"> — 9 creates and initialises a journal structure 10 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2-journal-init-inode.html"><span class="phrase">jbd2_journal_init_inode</span></a></span><span class="refpurpose"> — 11 creates a journal which maps to a inode. 12 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2-journal-update-sb-errno.html"><span class="phrase">jbd2_journal_update_sb_errno</span></a></span><span class="refpurpose"> — 13 Update error in the journal. 14 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2-journal-load.html"><span class="phrase">jbd2_journal_load</span></a></span><span class="refpurpose"> — 15 Read journal from disk. 16 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2-journal-destroy.html"><span class="phrase">jbd2_journal_destroy</span></a></span><span class="refpurpose"> — 17 Release a journal_t structure. 18 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2-journal-check-used-features.html"><span class="phrase">jbd2_journal_check_used_features</span></a></span><span class="refpurpose"> — 19 Check if features specified are used. 20 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2-journal-check-available-features.html"><span class="phrase">jbd2_journal_check_available_features</span></a></span><span class="refpurpose"> — 21 Check feature set in journalling layer 22 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2-journal-set-features.html"><span class="phrase">jbd2_journal_set_features</span></a></span><span class="refpurpose"> — 23 Mark a given journal feature in the superblock 24 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2-journal-flush.html"><span class="phrase">jbd2_journal_flush</span></a></span><span class="refpurpose"> — 25 Flush journal 26 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2-journal-wipe.html"><span class="phrase">jbd2_journal_wipe</span></a></span><span class="refpurpose"> — 27 Wipe journal contents 28 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2-journal-abort.html"><span class="phrase">jbd2_journal_abort</span></a></span><span class="refpurpose"> — 29 Shutdown the journal immediately. 30 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2-journal-errno.html"><span class="phrase">jbd2_journal_errno</span></a></span><span class="refpurpose"> — 31 returns the journal's error state. 32 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2-journal-clear-err.html"><span class="phrase">jbd2_journal_clear_err</span></a></span><span class="refpurpose"> — 33 clears the journal's error state 34 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2-journal-ack-err.html"><span class="phrase">jbd2_journal_ack_err</span></a></span><span class="refpurpose"> — 35 Ack journal err. 36 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2-journal-recover.html"><span class="phrase">jbd2_journal_recover</span></a></span><span class="refpurpose"> — 37 recovers a on-disk journal 38 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2-journal-skip-recovery.html"><span class="phrase">jbd2_journal_skip_recovery</span></a></span><span class="refpurpose"> — 39 Start journal and wipe exiting records 40 </span></dt></dl></div></div><div class="sect2"><div class="titlepage"><div><div><h3 class="title"><a name="transaction_level"></a>Transasction Level</h3></div></div></div><div class="toc"><dl class="toc"><dt><span class="refentrytitle"><a href="API-jbd2--journal-start.html"><span class="phrase">jbd2__journal_start</span></a></span><span class="refpurpose"> — 41 Obtain a new handle. 42 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2-journal-start-reserved.html"><span class="phrase">jbd2_journal_start_reserved</span></a></span><span class="refpurpose"> — 43 start reserved handle 44 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2-journal-extend.html"><span class="phrase">jbd2_journal_extend</span></a></span><span class="refpurpose"> — 45 extend buffer credits. 46 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2--journal-restart.html"><span class="phrase">jbd2__journal_restart</span></a></span><span class="refpurpose"> — 47 restart a handle . 48 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2-journal-lock-updates.html"><span class="phrase">jbd2_journal_lock_updates</span></a></span><span class="refpurpose"> — 49 establish a transaction barrier. 50 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2-journal-unlock-updates.html"><span class="phrase">jbd2_journal_unlock_updates</span></a></span><span class="refpurpose"> — 51 release barrier 52 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2-journal-get-write-access.html"><span class="phrase">jbd2_journal_get_write_access</span></a></span><span class="refpurpose"> — 53 notify intent to modify a buffer for metadata (not data) update. 54 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2-journal-get-create-access.html"><span class="phrase">jbd2_journal_get_create_access</span></a></span><span class="refpurpose"> — 55 notify intent to use newly created bh 56 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2-journal-get-undo-access.html"><span class="phrase">jbd2_journal_get_undo_access</span></a></span><span class="refpurpose"> — 57 Notify intent to modify metadata with non-rewindable consequences 58 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2-journal-set-triggers.html"><span class="phrase">jbd2_journal_set_triggers</span></a></span><span class="refpurpose"> — 59 Add triggers for commit writeout 60 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2-journal-dirty-metadata.html"><span class="phrase">jbd2_journal_dirty_metadata</span></a></span><span class="refpurpose"> — 61 mark a buffer as containing dirty metadata 62 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2-journal-forget.html"><span class="phrase">jbd2_journal_forget</span></a></span><span class="refpurpose"> — 63 <code class="function">bforget</code> for potentially-journaled buffers. 64 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2-journal-stop.html"><span class="phrase">jbd2_journal_stop</span></a></span><span class="refpurpose"> — 65 complete a transaction 66 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2-journal-try-to-free-buffers.html"><span class="phrase">jbd2_journal_try_to_free_buffers</span></a></span><span class="refpurpose"> — 67 try to free page buffers. 68 </span></dt><dt><span class="refentrytitle"><a href="API-jbd2-journal-invalidatepage.html"><span class="phrase">jbd2_journal_invalidatepage</span></a></span><span class="refpurpose"> — 69 </span></dt></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-struct-journal-s.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="LinuxJDBAPI.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-jbd2-journal-force-commit-nested.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct journal_s</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">jbd2_journal_force_commit_nested</span></td></tr></table></div></body></html> 70