summary refs log tree commit diff
path: root/fs/nfsd/trace.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@poochiereds.net>2015-12-08 07:23:48 -0500
committerJ. Bruce Fields <bfields@redhat.com>2016-01-08 16:47:51 -0500
commit6b9b21073d3b250e17812cd562fffc9006962b39 (patch)
treed8f01815c10c3f8affc866a913307e4ec53a7391 /fs/nfsd/trace.c
parent691412b4438da1b77ff3078de0546023d244d841 (diff)
downloadlinux-6b9b21073d3b250e17812cd562fffc9006962b39.tar.gz
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 'fs/nfsd/trace.c')
0 files changed, 0 insertions, 0 deletions