File: structfuse__loop__config.html

package info (click to toggle)
fuse3 3.18.1-1
  • links: PTS
  • area: main
  • in suites: sid
  • size: 58,496 kB
  • sloc: ansic: 25,055; perl: 6,044; cpp: 3,960; python: 1,201; sh: 416; javascript: 313; makefile: 59
file content (154 lines) | stat: -rw-r--r-- 9,592 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libfuse: fuse_loop_config Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">libfuse
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle"><div class="title">fuse_loop_config Struct Reference</div></div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="fuse-3_817_83_2lib_2fuse__i_8h_source.html">fuse_i.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a6a8527939446625e5466cd8baf399f08" id="r_a6a8527939446625e5466cd8baf399f08"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfuse__loop__config.html#a6a8527939446625e5466cd8baf399f08">clone_fd</a></td></tr>
<tr class="separator:a6a8527939446625e5466cd8baf399f08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab075331126d66bb44fb761ced2493214" id="r_ab075331126d66bb44fb761ced2493214"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfuse__loop__config.html#ab075331126d66bb44fb761ced2493214">max_idle_threads</a></td></tr>
<tr class="separator:ab075331126d66bb44fb761ced2493214"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab075331126d66bb44fb761ced2493214" id="r_ab075331126d66bb44fb761ced2493214"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfuse__loop__config.html#ab075331126d66bb44fb761ced2493214">max_idle_threads</a></td></tr>
<tr class="separator:ab075331126d66bb44fb761ced2493214"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa91fc3ebb89633f27e94d8ab510bc37e" id="r_aa91fc3ebb89633f27e94d8ab510bc37e"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfuse__loop__config.html#aa91fc3ebb89633f27e94d8ab510bc37e">max_threads</a></td></tr>
<tr class="separator:aa91fc3ebb89633f27e94d8ab510bc37e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Configuration parameters passed to fuse_session_loop_mt() and fuse_loop_mt().</p>
<p>Internal API to avoid exposing the plain data structure and causing compat issues after adding or removing struct members. </p>

<p class="definition">Definition at line <a class="el" href="fuse-3_817_83_2include_2fuse__common_8h_source.html#l00147">147</a> of file <a class="el" href="fuse-3_817_83_2include_2fuse__common_8h_source.html">fuse_common.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a6a8527939446625e5466cd8baf399f08" name="a6a8527939446625e5466cd8baf399f08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a8527939446625e5466cd8baf399f08">&#9670;&#160;</a></span>clone_fd</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int fuse_loop_config::clone_fd</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>whether to use separate device fds for each thread (may increase performance) </p>

<p class="definition">Definition at line <a class="el" href="fuse-3_817_83_2include_2fuse__common_8h_source.html#l00155">155</a> of file <a class="el" href="fuse-3_817_83_2include_2fuse__common_8h_source.html">fuse_common.h</a>.</p>

</div>
</div>
<a id="ab075331126d66bb44fb761ced2493214" name="ab075331126d66bb44fb761ced2493214"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab075331126d66bb44fb761ced2493214">&#9670;&#160;</a></span>max_idle_threads <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int fuse_loop_config::max_idle_threads</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The maximum number of available worker threads before they start to get deleted when they become idle. If not specified, the default is 10.</p>
<p>Adjusting this has performance implications; a very small number of threads in the pool will cause a lot of thread creation and deletion overhead and performance may suffer. When set to 0, a new thread will be created to service every operation.</p>
<p>The maximum number of available worker threads before they start to get deleted when they become idle. If not specified, the default is 10.</p>
<p>Adjusting this has performance implications; a very small number of threads in the pool will cause a lot of thread creation and deletion overhead and performance may suffer. When set to 0, a new thread will be created to service every operation. The special value of -1 means that this parameter is disabled. </p>

<p class="definition">Definition at line <a class="el" href="fuse-3_817_83_2include_2fuse__common_8h_source.html#l00167">167</a> of file <a class="el" href="fuse-3_817_83_2include_2fuse__common_8h_source.html">fuse_common.h</a>.</p>

</div>
</div>
<a id="ab075331126d66bb44fb761ced2493214" name="ab075331126d66bb44fb761ced2493214"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab075331126d66bb44fb761ced2493214">&#9670;&#160;</a></span>max_idle_threads <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int fuse_loop_config::max_idle_threads</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The maximum number of available worker threads before they start to get deleted when they become idle. If not specified, the default is 10.</p>
<p>Adjusting this has performance implications; a very small number of threads in the pool will cause a lot of thread creation and deletion overhead and performance may suffer. When set to 0, a new thread will be created to service every operation. The special value of -1 means that this parameter is disabled. </p>

<p class="definition">Definition at line <a class="el" href="fuse-3_817_83_2lib_2fuse__i_8h_source.html#l00159">159</a> of file <a class="el" href="fuse-3_817_83_2lib_2fuse__i_8h_source.html">fuse_i.h</a>.</p>

</div>
</div>
<a id="aa91fc3ebb89633f27e94d8ab510bc37e" name="aa91fc3ebb89633f27e94d8ab510bc37e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa91fc3ebb89633f27e94d8ab510bc37e">&#9670;&#160;</a></span>max_threads</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int fuse_loop_config::max_threads</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>max number of threads taking and processing kernel requests</p>
<p>As of now threads are created dynamically </p>

<p class="definition">Definition at line <a class="el" href="fuse-3_817_83_2lib_2fuse__i_8h_source.html#l00166">166</a> of file <a class="el" href="fuse-3_817_83_2lib_2fuse__i_8h_source.html">fuse_i.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following files:<ul>
<li>fuse-3.17.3/include/<a class="el" href="fuse-3_817_83_2include_2fuse__common_8h_source.html">fuse_common.h</a></li>
<li>fuse-3.17.3/lib/<a class="el" href="fuse-3_817_83_2lib_2fuse__i_8h_source.html">fuse_i.h</a></li>
<li>fuse-3.17.4/include/<a class="el" href="fuse-3_817_84_2include_2fuse__common_8h_source.html">fuse_common.h</a></li>
<li>fuse-3.17.4/lib/<a class="el" href="fuse-3_817_84_2lib_2fuse__i_8h_source.html">fuse_i.h</a></li>
<li>include/<a class="el" href="include_2fuse__common_8h_source.html">fuse_common.h</a></li>
<li>lib/<a class="el" href="lib_2fuse__i_8h_source.html">fuse_i.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>