diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-09-04 10:08:54 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-09-04 12:26:32 -0400 |
commit | f6de7a39c181dfb8a2c534661a53c73afb3081cd (patch) | |
tree | 69a0d52d55f0a32e83bba6a0cd20df154a38f06a /Documentation/kernel-parameters.txt | |
parent | ef1820f9be27b6ad158f433ab38002ab8131db4d (diff) |
NFSv4: Document the recover_lost_locks kernel parameter
Rename the new 'recover_locks' kernel parameter to 'recover_lost_locks'
and change the default to 'false'. Document why in
Documentation/kernel-parameters.txt
Move the 'recover_lost_locks' kernel parameter to fs/nfs/super.c to
make it easy to backport to kernels prior to 3.6.x, which don't have
a separate NFSv4 module.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'Documentation/kernel-parameters.txt')
-rw-r--r-- | Documentation/kernel-parameters.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 15356aca938c..30584b194984 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -1847,6 +1847,18 @@ bytes respectively. Such letter suffixes can also be entirely omitted. | |||
1847 | will be sent. | 1847 | will be sent. |
1848 | The default is to send the implementation identification | 1848 | The default is to send the implementation identification |
1849 | information. | 1849 | information. |
1850 | |||
1851 | nfs.recover_lost_locks = | ||
1852 | [NFSv4] Attempt to recover locks that were lost due | ||
1853 | to a lease timeout on the server. Please note that | ||
1854 | doing this risks data corruption, since there are | ||
1855 | no guarantees that the file will remain unchanged | ||
1856 | after the locks are lost. | ||
1857 | If you want to enable the kernel legacy behaviour of | ||
1858 | attempting to recover these locks, then set this | ||
1859 | parameter to '1'. | ||
1860 | The default parameter value of '0' causes the kernel | ||
1861 | not to attempt recovery of lost locks. | ||
1850 | 1862 | ||
1851 | nfsd.nfs4_disable_idmapping= | 1863 | nfsd.nfs4_disable_idmapping= |
1852 | [NFSv4] When set to the default of '1', the NFSv4 | 1864 | [NFSv4] When set to the default of '1', the NFSv4 |