Home
last modified time | relevance | path

Searched hist:"6 b9b21073d3b250e17812cd562fffc9006962b39" (Results 1 – 1 of 1) sorted by relevance

/linux/fs/nfsd/
H A Dnfs4layouts.cdiff 6b9b21073d3b250e17812cd562fffc9006962b39 Tue Dec 08 13:23:48 CET 2015 Jeff Layton <jlayton@poochiereds.net> 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>