Added definition of oplocks parameter.
authorJeremy Allison <jra@samba.org>
Thu, 9 Oct 1997 18:48:12 +0000 (18:48 +0000)
committerJeremy Allison <jra@samba.org>
Thu, 9 Oct 1997 18:48:12 +0000 (18:48 +0000)
Jeremy (jallison@whistle.com)

docs/manpages/smb.conf.5

index 989a395c159c981e121dbbc769191789680e6eef..bb43941439a6d18933e078f9713dfe1983d7ab11 100644 (file)
@@ -596,6 +596,8 @@ only guest
 
 only user
 
+oplocks
+
 path
 
 postexec
@@ -2236,6 +2238,22 @@ of the user.
 .B Example: 
        only user = True
 
+.SS oplocks (S)
+This boolean option tells smbd whether to issue oplocks (opportunistic
+locks) to file open requests on this share. The oplock code was introduced in
+Samba 1.9.18 and can dramatically (approx 30% or more) improve the speed
+of access to files on Samba servers. It allows the clients to agressively
+cache files locally and you may want to disable this option for unreliable
+network environments (it is turned on by default in Windows NT Servers).
+For more information see the file Speed.txt in the Samba docs/ directory.
+
+.B Default:
+    oplocks = True
+
+.B Example:
+    oplocks = False
+
+
 .SS os level (G)
 This integer value controls what level Samba advertises itself as for
 browse elections. See BROWSING.txt for details.