There is a system-wide oplock setting on your storage system. If you enable this oplock setting, you can enable or disable oplocks for individual qtrees.
To set the system-wide oplock setting, complete the following step.
To enable or disable an oplock for an individual qtree, complete the following step.
If a client that owns a file oplock sends a file open request, it is temporarily vulnerable to a "race condition" that can occur if the storage system requests an oplock break. To prevent this condition, the storage system delays sending an oplock break according to the delay time value (in milliseconds) specified by the cifs.oplocks.opendelta option. The default delay time is 8 milliseconds. This means that after the storage system receives or responds to a request to open a file, the storage system will make sure that 8 milliseconds have elapsed before sending an oplock break to that client.
You can change the default delay time for sending oplock breaks. For example, you might want to increase the delay time if you issue the cifs stat command and the output shows a non-zero value for the OpLkBkNoBreakAck field.
You might also see syslog messages similar to the following example and want to increase the delay time for sending oplock breaks.
Mon Jan 21 15:18:38 PST [CIFSAdmin:warning]: oplock break timed out to station JOHN-PC for file \\FILER\share\subdir\file.txt
To change the delay time for sending oplock breaks, complete the following step.
Copyright © 1994-2005, Network Appliance, Inc. All rights
reserved.
Part No. 210-01086_B0
File: 3cifs44.htm
Last updated: 08-Dec-2005 13:19:35