From ec35f1c1cc363b84867fea49f6b2b5e3c0b9b889 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 6 Nov 1997 19:11:16 +0000 Subject: 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) --- source3/include/local.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source3/include') 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 */ -- cgit