summaryrefslogtreecommitdiff
path: root/docs-xml/smbdotconf
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2018-12-02 09:22:56 +0100
committerJeremy Allison <jra@samba.org>2018-12-06 01:43:13 +0100
commit14132e89b4b9ac6712fe6f49945da3f4d987cc14 (patch)
tree6a88a52a844fd015202b7232dda2f7df3fa4769c /docs-xml/smbdotconf
parent54b7132d10605102f69b3dbb4c79c7aa9e4fdd62 (diff)
downloadsamba-14132e89b4b9ac6712fe6f49945da3f4d987cc14.tar.gz
docs-xml: add "smbd max async dosmode"
The parameter is added to the lists of ignored-paremteres in the samba.docs tests, as the given default "aio max threads * 2" works only as manpage string. "aio max threads" can only be calculated at run time and requires a handle to a pthreadpool_tevent which loadparm will never have. Because of that lp_smbd_max_async_dosmode() will always return 0 as default and it's up to the caller to calculate "aio max threads * 2" if lp_smbd_max_async_dosmode() returns 0. Cf the next commit. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'docs-xml/smbdotconf')
-rw-r--r--docs-xml/smbdotconf/misc/smbdmaxasyncdosmode.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs-xml/smbdotconf/misc/smbdmaxasyncdosmode.xml b/docs-xml/smbdotconf/misc/smbdmaxasyncdosmode.xml
new file mode 100644
index 00000000000..b375298be31
--- /dev/null
+++ b/docs-xml/smbdotconf/misc/smbdmaxasyncdosmode.xml
@@ -0,0 +1,12 @@
+<samba:parameter name="smbd max async dosmode"
+ context="S"
+ type="integer"
+ xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
+<description>
+ <para>
+ This parameter controls how many async operations to fetch the DOS
+ attributes the fileserver will queue when doing directory listings.
+ </para>
+</description>
+<value type="default">aio max threads * 2</value>
+</samba:parameter>