diff options
author | Jeff Layton <jlayton@poochiereds.net> | 2015-12-08 15:23:48 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2016-01-09 00:47:51 +0300 |
commit | 6b9b21073d3b250e17812cd562fffc9006962b39 (patch) | |
tree | d8f01815c10c3f8affc866a913307e4ec53a7391 /lib/fdt.c | |
parent | 691412b4438da1b77ff3078de0546023d244d841 (diff) | |
download | linux-6b9b21073d3b250e17812cd562fffc9006962b39.tar.xz |
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 'lib/fdt.c')
0 files changed, 0 insertions, 0 deletions