SessionTimeout set by Set-SmbClientConfiguration does not work and alawys less than 20 seconds

This question is about samba,the environment is as follows :
Samba Server
System info : CentOS Linux release 7.6.1810
Network : Virtual IP create byifconfig eth0:231 192.168.0.231 netmask 255.255.255.0 up
Samba Client
System info : Windows Server 2012R2
**Here are the steps to reproduce the problem : **
- Create a samba share in
CentOS
- Creates a SMB mapping on the
Windows Server 2012R2
SMB client to the SMB share created in step 1 - In
Windows Server 2012R2
SMB client path, Usefio
to simulate a given I/O workload :fio -filename=cifs.txt -iodepth=1 -direct=1 -ioengine=windowsaio -thread -rw=write -bs=1k -size=1g -numjobs=1 -group_reporting -name=mytest
- In CentOS samba server, run the command
date; ifconfig eth0:230 down
- We found that the
fio
failed after 20 seconds and windows smb client disconnect with smb server
I want to increase the disconnect time,Microsoft Doc tells me that the parameter SessionTimeout
set by Set-SmbClientConfiguration
means the number of seconds that the client waits before disconnecting an inactive session. But When I set this parameter to more than 20 by Set-SmbClientConfiguration -SessionTimeout 60
, the timeout is always 20 seconds, this parameter only works when be set to less than 20 ,e.g. Set-SmbClientConfiguration -SessionTimeout 10