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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux