If oplocks and lease oplocks are enabled at the storage system level, you can enable or disable oplocks and lease oplocks on an individual qtree.
Step
- Perform the applicable action:
If you want to... |
Then... |
Enable oplocks and lease oplocks on a qtree |
Enter the following command: qtree oplocks qtree_name enable |
Disable oplocks and lease oplocks on a qtree |
Enter the following command: qtree oplocks qtree_name disable |
If the
cifs.oplocks.enable option is set to
on, the
qtree oplocks command for a qtree takes effect immediately. If the
cifs.oplocks.enable option is set to
off, the
qtree oplocks command does not take effect until you change the option to
on.