Skip to content
Commit 44df6f43 authored by Dai Ngo's avatar Dai Ngo Committed by Chuck Lever
Browse files

NFSD: add delegation reaper to react to low memory condition



The delegation reaper is called by nfsd memory shrinker's on
the 'count' callback. It scans the client list and sends the
courtesy CB_RECALL_ANY to the clients that hold delegations.

To avoid flooding the clients with CB_RECALL_ANY requests, the
delegation reaper sends only one CB_RECALL_ANY request to each
client per 5 seconds.

Signed-off-by: default avatarDai Ngo <dai.ngo@oracle.com>
[ cel: moved definition of RCA4_TYPE_MASK_RDATA_DLG ]
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent 3959066b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment