diff options
author | Dai Ngo <dai.ngo@oracle.com> | 2022-09-14 08:54:26 -0700 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-09-26 14:02:41 -0400 |
commit | 7746b32f467b3813fb61faaab3258de35806a7ac (patch) | |
tree | 22ace645fe5c97affbe517c0f36395cdc2e898cf /net/sunrpc/svc.c | |
parent | 3a4ea23d86a317c4b68b9a69d51f7e84e1e04357 (diff) |
NFSD: add shrinker to reap courtesy clients on low memory condition
Add courtesy_client_reaper to react to low memory condition triggered
by the system memory shrinker.
The delayed_work for the courtesy_client_reaper is scheduled on
the shrinker's count callback using the laundry_wq.
The shrinker's scan callback is not used for expiring the courtesy
clients due to potential deadlocks.
Signed-off-by: Dai Ngo <dai.ngo@oracle.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/sunrpc/svc.c')
0 files changed, 0 insertions, 0 deletions