Skip to content

Commit

Permalink
Merge pull request #394 from krig/unlock_by_default
Browse files Browse the repository at this point in the history
Medium: exportfs: Make unlock_on_stop_default=1 (bnc#864263)
  • Loading branch information
davidvossel committed Apr 2, 2014
2 parents 68a1193 + 76027ae commit 011b051
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion heartbeat/exportfs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
. ${OCF_FUNCTIONS_DIR}/ocf-shellfuncs

# Defaults
OCF_RESKEY_unlock_on_stop_default=0
OCF_RESKEY_unlock_on_stop_default=1
OCF_RESKEY_wait_for_leasetime_on_stop_default=0
OCF_RESKEY_rmtab_backup_default=".rmtab"

Expand Down Expand Up @@ -95,6 +95,12 @@ Unique fsid within cluster.
Relinquish NFS locks associated with this filesystem when the resource
stops. Enabling this parameter is highly recommended unless the path exported
by this ${__SCRIPT_NAME} resource is also exported by a different resource.
Note: Unlocking is only possible on Linux systems where
/proc/fs/nfsd/unlock_filesystem exists and is writable. If your system does
not fulfill this requirement (on account of having an nonrecent kernel,
for example), you may set this parameter to 0 to silence the associated
warning.
</longdesc>
<shortdesc lang="en">
Unlock filesystem on stop?
Expand Down

0 comments on commit 011b051

Please sign in to comment.