diff options
author | 2020-09-27 04:42:20 -0700 | |
---|---|---|
committer | 2020-10-02 08:46:46 -0400 | |
commit | 5904c16d2210b967caf66b04a0c26cfa6a7a0328 (patch) | |
tree | 95e993823ff61f1cc11099d053ae423d122c05e5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | NFSv4: Wait for stateid updates after CLOSE/OPEN_DOWNGRADE (diff) | |
download | wireguard-linux-5904c16d2210b967caf66b04a0c26cfa6a7a0328.tar.xz wireguard-linux-5904c16d2210b967caf66b04a0c26cfa6a7a0328.zip |
fs: nfs: return per memcg count for xattr shrinkers
The list_lru_count() returns the pre node count, but the new xattr
shrinkers are memcg aware, so the shrinkers should return per memcg
count by calling list_lru_shrink_count() instead. Otherwise over-shrink
might be experienced. The problem was spotted by visual code
inspection.
Cc: Trond Myklebust <trond.myklebust@hammerspace.com>
Cc: Anna Schumaker <anna.schumaker@netapp.com>
Cc: Frank van der Linden <fllinden@amazon.com>
Signed-off-by: Yang Shi <shy828301@gmail.com>
Reviewed-by: Frank van der Linden <fllinden@amazon.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions