]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-windows-restrict-timeouts-to-cifs-20060808
authorJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 8 Aug 2006 17:39:17 +0000 (17:39 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 8 Aug 2006 17:39:17 +0000 (17:39 +0000)
commit27458dd5a4c489aa8fa1b03db5e2a7b3794a94ec
tree493efd1d34926b75d2e6437b54744d4174aad9a0
parenta023188a2399c66acaab83bdcd3dcc77b2bb9428
DEVEL15-windows-restrict-timeouts-to-cifs-20060808

If afsd takes longer than the cifs timeout to complete an operation
the cifs client may break the virtual circuit and create a new one.
this forces all file handles to be closed and locks to be released.
Try to prevent the circuit from being destroyed by allowing the
CIFS lanmanworkstation SessTimeout value to enforce upper limits
on the Conn and Hard Dead Timeouts.   Permit this automatic configuration
to be disabled by setting specific configuration values for timeouts
in the registry.

(cherry picked from commit 09020663fad32a30cec3f425d6dee7807799eadb)
src/WINNT/afsd/afsd_init.c
src/WINNT/afsd/cm_conn.c
src/WINNT/afsd/cm_conn.h