diff options
author | NeilBrown <neilb@suse.de> | 2022-03-21 02:59:51 +0300 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2022-05-17 22:27:17 +0300 |
commit | 3e2910c7e23b55f6452b7130f97217ee0551a71a (patch) | |
tree | 27490af03bf9cc2c57155f0f92ff478c4313022b /Documentation/admin-guide/nfs/nfs-client.rst | |
parent | 71342db05722907f30505afa4d845cae0f276d23 (diff) | |
download | linux-3e2910c7e23b55f6452b7130f97217ee0551a71a.tar.xz |
NFS: Improve warning message when locks are lost.
NFSv4 can lose locks if, for example there is a network partition for
longer than the lease period. When this happens a warning message
NFS: __nfs4_reclaim_open_state: Lock reclaim failed!
is generated, possibly once for each lock (though rate limited).
This is potentially misleading as is can be read as suggesting that lock
reclaim was attempted. However the default behaviour is to not attempt
to recover locks (except due to server report).
This patch changes the reporting to produce at most one message for each
attempt to recover all state from a given server. The message reports
the server name and the number of locks lost if that number is non-zero.
It reports that locks were lost and give no suggestion as to whether
there was an attempt or not.
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'Documentation/admin-guide/nfs/nfs-client.rst')
0 files changed, 0 insertions, 0 deletions