Skip to content

RFC nfsd: clean up CB_LAYOUTRECALL handling

Jeff Layton linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nfsd: don't hold ls_mutex across a layout recallfs/nfsd/nfs4layouts.c+1 -11 reply
2/2nfsd: give up on CB_LAYOUTRECALLs after two lease periodsfs/nfsd/nfs4layouts.c+25 -105 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchKinglong MeeChristoph Hellwig
1/2Reported-and-Tested-by R-b
2/2T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC PATCH 0/2] nfsd: clean up CB_LAYOUTRECALL handling

This is a proposal that should follow the broad outlines of what HCH was suggesting for CB_LAYOUTRECALL. It changes the code to treat 0 and NFS4ERR_DELAY returns equivalently, and also implements a scheme to give up on the client after two lease periods.

Note that this is _not_ tested, since I don't have a pnfs test rig on which to test this.

Jeff Layton (2):
nfsd: don't hold ls_mutex across a layout recall
nfsd: give up on CB_LAYOUTRECALLs after two lease periods

 fs/nfsd/nfs4layouts.c | 37 ++++++++++++++++++++++++++-----------
 1 file changed, 26 insertions(+), 11 deletions(-)
Signature · 1 line
2.5.0