To enable or disable write open delegation, you can set the nfs.v4.write_delegation option to on or off, respectively. By default, this option is off.
By enabling write open delegations, you can eliminate much of the message overhead associated with file and record locking in addition to opening and closing of files. The disadvantage of enabling write open delegations is that the server and its clients must perform additional tasks to recover delegations after the server reboots or restarts, a client reboots or restarts, or a network partition occurs.
| If you want to... | Then... |
|---|---|
| Enable write open delegations | Enter the following command: options nfs.v4.write_delegation on |
| Disable write open delegations | Enter the following command: options nfs.v4.write_delegation off |
The open delegation options take effect as soon as they are changed. There is no need to reboot or restart NFS.