1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>typedef handle_t</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="data_types.html#structures" title="Structures"><link rel="prev" href="data_types.html" title="Data Types"><link rel="next" href="API-typedef-journal-t.html" title="typedef journal_t"></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"><span class="phrase">typedef handle_t</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="data_types.html">Prev</a>&#160;</td><th width="60%" align="center">Structures</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-typedef-journal-t.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-typedef-handle-t"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>typedef handle_t &#8212; 
2  The handle_t type represents a single atomic update being performed by some process.
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">typedef handle_t;</pre></div><div class="refsect1"><a name="idp1103623188"></a><h2>Description</h2><p>
4   </p><p>
5
6   All filesystem modifications made by the process go
7   through this handle.  Recursive operations (such as quota operations)
8   are gathered into a single update.
9   </p><p>
10
11   The buffer credits field is used to account for journaled buffers
12   being modified by the running process.  To ensure that there is
13   enough log space for all outstanding operations, we need to limit the
14   number of outstanding buffers possible at any time.  When the
15   operation completes, any buffer credits not used are credited back to
16   the transaction, so that at all times we know how many buffers the
17   outstanding updates on a transaction might possibly touch.
18   </p><p>
19
20   This is an opaque datatype.
21</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="data_types.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="data_types.html#structures">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-typedef-journal-t.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Data Types&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span class="phrase">typedef journal_t</span></td></tr></table></div></body></html>
22