mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
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>
This commit is contained in:
parent
54b7132d10
commit
14132e89b4
12
docs-xml/smbdotconf/misc/smbdmaxasyncdosmode.xml
Normal file
12
docs-xml/smbdotconf/misc/smbdmaxasyncdosmode.xml
Normal file
@ -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>
|
@ -125,6 +125,7 @@ class SmbDotConfTests(TestCase):
|
||||
'include system krb5 conf',
|
||||
'rpc server dynamic port range',
|
||||
'mit kdc command',
|
||||
'smbd max async dosmode',
|
||||
])
|
||||
|
||||
def setUp(self):
|
||||
@ -247,6 +248,7 @@ class SmbDotConfTests(TestCase):
|
||||
exceptions = set([
|
||||
'printing',
|
||||
'rpc server dynamic port range',
|
||||
'smbd max async dosmode',
|
||||
])
|
||||
|
||||
if param in exceptions:
|
||||
|
Loading…
Reference in New Issue
Block a user