docs-xml: add "smbd max async dosmode"
authorRalph Boehme <slow@samba.org>
Sun, 2 Dec 2018 08:22:56 +0000 (09:22 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 6 Dec 2018 00:43:13 +0000 (01:43 +0100)
commit14132e89b4b9ac6712fe6f49945da3f4d987cc14
tree6a88a52a844fd015202b7232dda2f7df3fa4769c
parent54b7132d10605102f69b3dbb4c79c7aa9e4fdd62
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>
docs-xml/smbdotconf/misc/smbdmaxasyncdosmode.xml [new file with mode: 0644]
python/samba/tests/docs.py