Vserver : Storage > Qtrees : Understanding qtrees : About the CIFS oplocks setting
About the CIFS oplocks setting
Usually, you should leave CIFS oplocks (opportunistic locks) on for all volumes and qtrees. This is the default setting. However, you might turn CIFS oplocks off under certain circumstances.
CIFS oplocks 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. This improves performance by reducing network traffic.
You might turn CIFS oplocks off on a volume or a qtree under either of the following circumstances:
•
You are using a database application whose documentation recommends that CIFS oplocks be turned off.
•
You are handling critical data and cannot afford even the slightest data loss.
Otherwise, you can leave CIFS oplocks on.
For more information about CIFS oplocks, see the CIFS section of the
Data ONTAP Cluster-Mode File Access and Protocols Management Guide
.
Related concepts
Qtree options
Was this topic helpful? Send
comments
to NetApp.