[PATCH][SMB3] Allow overriding the default persistent handle timeout on opens
smfrench at gmail.com
Fri Mar 29 03:05:04 UTC 2019
Reconnecting after server or network failure can be helped by
allowing the client to choose the default persistent (or resilient)
handle timeout in some use cases. Today we default to 0 which lets
the server pick the default timeout (usually 120 seconds) but this
can be problematic for some workloads. Add the new mount parameter
to cifs.ko for SMB3 mounts "handletimeout" which enables the user
to override the default handle timeout for persistent (mount
option "persistenthandles") or resilient handles (mount option
"resilienthandles"). Maximum allowed is 16 minutes (960000 ms).
Units for the timeout are expressed in milliseconds. See
section 220.127.116.11.12 and 18.104.22.168 of the MS-SMB2 protocol
specification for more information.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7941 bytes
Desc: not available
More information about the samba-technical