[PATCH 0/2] add support for CB_RECALL_ANY and the delegation shrinker

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

 



This patch series adds:

    . support for sending the CB_RECALL_ANY op.
      There is only one nfsd4_callback, cl_recall_any, added for each
      nfs4_client. Access to it must be serialized. For now it's done
      by the cl_recall_any_busy flag since it's used only by the
      delegation shrinker. If there is another consumer of cl_recall_any
      then a spinlock must be used.

    . the delegation shrinker that sends the advisory CB_RECALL_ANY 
      to the clients to release unused delegations.

---

Dai Ngo (2):
     NFSD: add support for sending CB_RECALL_ANY
     NFSD: add delegation shrinker to react to low memory condition

 fs/nfsd/netns.h        |  3 ++
 fs/nfsd/nfs4callback.c | 64 ++++++++++++++++++++++++++++++
 fs/nfsd/nfs4state.c    | 97 ++++++++++++++++++++++++++++++++++++++++++++-
 fs/nfsd/state.h        |  9 +++++
 fs/nfsd/xdr4cb.h       |  6 +++
 5 files changed, 178 insertions(+), 1 deletion(-)




[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