diff options
| author | 2022-09-14 08:54:26 -0700 | |
|---|---|---|
| committer | 2022-09-26 14:02:41 -0400 | |
| commit | 7746b32f467b3813fb61faaab3258de35806a7ac (patch) | |
| tree | 22ace645fe5c97affbe517c0f36395cdc2e898cf /include | |
| parent | NFSD: keep track of the number of courtesy clients in the system (diff) | |
| download | linux-dev-7746b32f467b3813fb61faaab3258de35806a7ac.tar.xz linux-dev-7746b32f467b3813fb61faaab3258de35806a7ac.zip | |
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 'include')
0 files changed, 0 insertions, 0 deletions
