CIFS oplocks reduce network traffic and improve storage system performance. However, in some situations, you might need to disable them. You can disable CIFS oplocks for the entire storage system or for a specific volume or qtree.
About the CIFS oplocks setting
Usually, you should leave CIFS oplocks on for all volumes and qtrees. This is the default setting. However, you might turn CIFS oplocks off under certain circumstances.
Enabling or disabling CIFS oplocks for the entire storage system
You use the cifs.oplocks.enable option to enable or disable CIFS oplocks for the entire storage system. If you set this option to On, then CIFS oplocks are enabled, and the individual setting for each qtree and volume takes effect.
Enabling CIFS oplocks for a specific volume or qtree
If you've previously disabled CIFS oplocks for a specific volume or qtree, and now you want to reenable them, you can do so by using the qtree oplocks command.