Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
9223372036854775807
Description
The purpose is that the client can cache max_cached_mb at maximum on the client side but if the memory is in pressure it should consume less by hooking it up to cache shrinker.
Attachments
Issue Links
- is related to
-
LU-5841 Lustre 2.4.2 MDS, hitting OOM errors
-
- Resolved
-
bobijam,
Is there any particular reason to return the value from osc_cache_shrink_count() instead of osc_cache_shrink_scan() itself?
It seems like in such a scenario, vmscan requested 3 times to scan 128 objects, osc_cache_shrink_scan() reported 3 times that 128 objects were freed. However, the shrinker returned not 0x80;0x80;0x80, but 0x9d791; 0x9d711; 0x9d691, reported as "last shrinker return val 644753".
P.S. arg1 is $retval for osc_cache* retprobes.