diff options
author | Dai Ngo <dai.ngo@oracle.com> | 2022-11-17 06:44:47 +0300 |
---|---|---|
committer | Chuck Lever <cel@kernel.org> | 2022-12-10 19:01:12 +0300 |
commit | 44df6f439a1790a5f602e3842879efa88f346672 (patch) | |
tree | 3f4ba612d056614685d124774a1174eff37177e9 /fs/nfsd/trace.h | |
parent | 3959066b697b5dfbb7141124ae9665337d4bc638 (diff) | |
download | linux-44df6f439a1790a5f602e3842879efa88f346672.tar.xz |
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: Dai Ngo <dai.ngo@oracle.com>
[ cel: moved definition of RCA4_TYPE_MASK_RDATA_DLG ]
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/trace.h')
0 files changed, 0 insertions, 0 deletions