<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968" /><title>Functions</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="Linux Filesystems API" /><link rel="up" href="ch05.html" title="Chapter 5. The Linux Journalling API" /><link rel="prev" href="re175.html" title="struct journal_s" /><link rel="next" href="re176.html" title="journal_init_dev" /></head><body><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="re175.html">Prev</a> </td><th width="60%" align="center">Chapter 5. The Linux Journalling API</th><td width="20%" align="right"> <a accesskey="n" href="re176.html">Next</a></td></tr></table><hr /></div><div class="sect1" title="Functions"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="functions"></a>Functions</h2></div></div></div><div class="toc"><dl><dt><span class="sect2"><a href="ch05s03.html#journal_level">Journal Level</a></span></dt><dt><span class="sect2"><a href="ch05s03.html#transaction_level">Transasction Level</a></span></dt></dl></div><p> The functions here are split into two groups those that affect a journal as a whole, and those which are used to manage transactions </p><div class="sect2" title="Journal Level"><div class="titlepage"><div><div><h3 class="title"><a id="journal_level"></a>Journal Level</h3></div></div></div><div class="toc"><dl><dt><span class="refentrytitle"><a href="re176.html"><span>journal_init_dev</span></a></span><span class="refpurpose"> — creates and initialises a journal structure </span></dt><dt><span class="refentrytitle"><a href="re177.html"><span>journal_init_inode</span></a></span><span class="refpurpose"> — creates a journal which maps to a inode. </span></dt><dt><span class="refentrytitle"><a href="re178.html"><span>journal_create</span></a></span><span class="refpurpose"> — Initialise the new journal file </span></dt><dt><span class="refentrytitle"><a href="re179.html"><span>journal_load</span></a></span><span class="refpurpose"> — Read journal from disk. </span></dt><dt><span class="refentrytitle"><a href="re180.html"><span>journal_destroy</span></a></span><span class="refpurpose"> — Release a journal_t structure. </span></dt><dt><span class="refentrytitle"><a href="re181.html"><span>journal_check_used_features</span></a></span><span class="refpurpose"> — Check if features specified are used. </span></dt><dt><span class="refentrytitle"><a href="re182.html"><span>journal_check_available_features</span></a></span><span class="refpurpose"> — Check feature set in journalling layer </span></dt><dt><span class="refentrytitle"><a href="re183.html"><span>journal_set_features</span></a></span><span class="refpurpose"> — Mark a given journal feature in the superblock </span></dt><dt><span class="refentrytitle"><a href="re184.html"><span>journal_update_format</span></a></span><span class="refpurpose"> — Update on-disk journal structure. </span></dt><dt><span class="refentrytitle"><a href="re185.html"><span>journal_flush</span></a></span><span class="refpurpose"> — Flush journal </span></dt><dt><span class="refentrytitle"><a href="re186.html"><span>journal_wipe</span></a></span><span class="refpurpose"> — Wipe journal contents </span></dt><dt><span class="refentrytitle"><a href="re187.html"><span>journal_abort</span></a></span><span class="refpurpose"> — Shutdown the journal immediately. </span></dt><dt><span class="refentrytitle"><a href="re188.html"><span>journal_errno</span></a></span><span class="refpurpose"> — returns the journal's error state. </span></dt><dt><span class="refentrytitle"><a href="re189.html"><span>journal_clear_err</span></a></span><span class="refpurpose"> — clears the journal's error state </span></dt><dt><span class="refentrytitle"><a href="re190.html"><span>journal_ack_err</span></a></span><span class="refpurpose"> — Ack journal err. </span></dt><dt><span class="refentrytitle"><a href="re191.html"><span>journal_recover</span></a></span><span class="refpurpose"> — recovers a on-disk journal </span></dt><dt><span class="refentrytitle"><a href="re192.html"><span>journal_skip_recovery</span></a></span><span class="refpurpose"> — Start journal and wipe exiting records </span></dt></dl></div></div><div class="sect2" title="Transasction Level"><div class="titlepage"><div><div><h3 class="title"><a id="transaction_level"></a>Transasction Level</h3></div></div></div><div class="toc"><dl><dt><span class="refentrytitle"><a href="re193.html"><span>journal_start</span></a></span><span class="refpurpose"> — Obtain a new handle. </span></dt><dt><span class="refentrytitle"><a href="re194.html"><span>journal_extend</span></a></span><span class="refpurpose"> — extend buffer credits. </span></dt><dt><span class="refentrytitle"><a href="re195.html"><span>journal_restart</span></a></span><span class="refpurpose"> — restart a handle. </span></dt><dt><span class="refentrytitle"><a href="re196.html"><span>journal_lock_updates</span></a></span><span class="refpurpose"> — establish a transaction barrier. </span></dt><dt><span class="refentrytitle"><a href="re197.html"><span>journal_unlock_updates</span></a></span><span class="refpurpose"> — release barrier </span></dt><dt><span class="refentrytitle"><a href="re198.html"><span>journal_get_write_access</span></a></span><span class="refpurpose"> — notify intent to modify a buffer for metadata (not data) update. </span></dt><dt><span class="refentrytitle"><a href="re199.html"><span>journal_get_create_access</span></a></span><span class="refpurpose"> — notify intent to use newly created bh </span></dt><dt><span class="refentrytitle"><a href="re200.html"><span>journal_get_undo_access</span></a></span><span class="refpurpose"> — Notify intent to modify metadata with non-rewindable consequences </span></dt><dt><span class="refentrytitle"><a href="re201.html"><span>journal_dirty_data</span></a></span><span class="refpurpose"> — mark a buffer as containing dirty data to be flushed </span></dt><dt><span class="refentrytitle"><a href="re202.html"><span>journal_dirty_metadata</span></a></span><span class="refpurpose"> — mark a buffer as containing dirty metadata </span></dt><dt><span class="refentrytitle"><a href="re203.html"><span>journal_forget</span></a></span><span class="refpurpose"> — <code class="function">bforget</code> for potentially-journaled buffers. </span></dt><dt><span class="refentrytitle"><a href="re204.html"><span>journal_stop</span></a></span><span class="refpurpose"> — complete a transaction </span></dt><dt><span class="refentrytitle"><a href="re205.html"><span>journal_force_commit</span></a></span><span class="refpurpose"> — force any uncommitted transactions </span></dt><dt><span class="refentrytitle"><a href="re206.html"><span>journal_try_to_free_buffers</span></a></span><span class="refpurpose"> — try to free page buffers. </span></dt><dt><span class="refentrytitle"><a href="re207.html"><span>journal_invalidatepage</span></a></span><span class="refpurpose"> — invalidate a journal page </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="re175.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch05.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="re176.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>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>journal_init_dev</span></td></tr></table></div></body></html>