CIFS oplocks (opportunistic locks) enable the redirector on a CIFS client in certain file-sharing scenarios to perform client-side caching of read-ahead, write-behind, and lock information. A client can then work with a file (read or write it) without regularly reminding the server that it needs access to the file in question. This improves performance by reducing network traffic.
CIFS oplocks on the filer are on by default.
You might turn CIFS oplocks off on a volume or a qtree under either of the following circumstances:
Otherwise, you can leave CIFS oplocks on.
The cifs.oplocks.enable option enables and disables CIFS oplocks for the entire filer. The setting of the cifs.oplocks.enable option must be consistent with the volume or qtree oplocks settings.
Setting the cifs.oplocks.enable option has the following effects:
To change the CIFS oplocks setting of a volume or qtree, complete the following steps.
Caution
If you disable the CIFS oplocks feature on a volume or qtree, any existing CIFS oplocks in the qtree are broken.
| 1 | ||
options cifs.oplocks.enable on |
||
options cifs.oplocks.enable off |
||
| 2 | Enter the following command to enable or disable CIFS oplocks on a specified volume or qtree: qtree oplocks path [enable | disable] |
|
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00322
File: data-o19.htm
Last updated: 01/22/03 16:16:52