Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Tested-by: Christoph Hellwig <[email protected]> Signed-off-by: J. Bruce Fields <[email protected]>
- Loading branch information