diff options
author | Ralph Boehme <slow@samba.org> | 2018-12-02 09:23:29 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2018-12-06 01:43:13 +0100 |
commit | 941d7e159a8098b12294ca561fd8e4b8f235c18f (patch) | |
tree | 30da62cc549f752d4a21f7b515e40de7313d0ee7 /lib/param | |
parent | 14132e89b4b9ac6712fe6f49945da3f4d987cc14 (diff) | |
download | samba-941d7e159a8098b12294ca561fd8e4b8f235c18f.tar.gz |
s3:smbd: use lp_smbd_max_async_dosmode()
Parametric options have a performance impact, use the normal options
added in the previous commit.
"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 us to calculate "aio max threads * 2" if
lp_smbd_max_async_dosmode() returns 0.
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib/param')
0 files changed, 0 insertions, 0 deletions