diff options
author | 2015-12-08 07:23:48 -0500 | |
---|---|---|
committer | 2016-01-08 16:47:51 -0500 | |
commit | 6b9b21073d3b250e17812cd562fffc9006962b39 (patch) | |
tree | d8f01815c10c3f8affc866a913307e4ec53a7391 /virt/Makefile | |
parent | nfsd: Fix nfsd leaks sunrpc module references (diff) | |
download | linux-6b9b21073d3b250e17812cd562fffc9006962b39.tar.gz linux-6b9b21073d3b250e17812cd562fffc9006962b39.tar.bz2 linux-6b9b21073d3b250e17812cd562fffc9006962b39.zip |
nfsd: give up on CB_LAYOUTRECALLs after two lease periods
Have the CB_LAYOUTRECALL code treat NFS4_OK and NFS4ERR_DELAY returns
equivalently. Change the code to periodically resend CB_LAYOUTRECALLS
until the ls_layouts list is empty or the client returns a different
error code.
If we go for two lease periods without the list being emptied or the
client sending a hard error, then we give up and clean out the list
anyway.
Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Tested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'virt/Makefile')
0 files changed, 0 insertions, 0 deletions