diff options
author | Jeremy Allison <jra@samba.org> | 1997-11-06 19:11:16 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1997-11-06 19:11:16 +0000 |
commit | ec35f1c1cc363b84867fea49f6b2b5e3c0b9b889 (patch) | |
tree | 29d1b8c300aadbcc2100408e78977943138840c2 /source3/include | |
parent | 3670f3d9c0f1f96995eef8113fd9b433789ef844 (diff) | |
download | samba-ec35f1c1cc363b84867fea49f6b2b5e3c0b9b889.tar.gz samba-ec35f1c1cc363b84867fea49f6b2b5e3c0b9b889.tar.bz2 samba-ec35f1c1cc363b84867fea49f6b2b5e3c0b9b889.zip |
local.h: Added OPLOCK_BREAK_TIMEOUT_FUDGEFACTOR.
proto.h: The usual.
server.c: Added timestring() messages to oplock logs. Added fix
to allow file open processing to continue is an oplock
break message times out.
Jeremy.
(This used to be commit c45369217169fac261b32db71469c007db4b4a03)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/local.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/include/local.h b/source3/include/local.h index c1f1de2132..ae791d84e6 100644 --- a/source3/include/local.h +++ b/source3/include/local.h @@ -156,10 +156,14 @@ /* #define IDLE_DIR "/" */ /* Timout (in seconds) to wait for an oplock break - message to return. */ + message to return from the client. */ #define OPLOCK_BREAK_TIMEOUT 30 +/* Timout (in seconds) to add to the oplock break timeout + to wait for the smbd to smbd message to return. */ + +#define OPLOCK_BREAK_TIMEOUT_FUDGEFACTOR 2 /* the read preciction code has been disabled until some problems with it are worked out */ |