]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
NFSv4: Fix client recovery when server reboots multiple times
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 13 Jan 2017 18:31:32 +0000 (13:31 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 13 Jan 2017 18:31:32 +0000 (13:31 -0500)
commitc6180a6237174f481dc856ed6e890d8196b6f0fb
tree84299b10bbb0200b05ec9821e655a5ac3c97daf8
parentd3129ef672cac81c4d0185336af377c8dc1091d3
NFSv4: Fix client recovery when server reboots multiple times

If the server reboots multiple times, the client should rely on the
server to tell it that it cannot reclaim state as per section 9.6.3.4
in RFC7530 and section 8.4.2.1 in RFC5661.
Currently, the client is being to conservative, and is assuming that
if the server reboots while state recovery is in progress, then it must
ignore state that was not recovered before the reboot.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4state.c