summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorChao Yu <chao@kernel.org>2026-10-07 11:49:46 +0000
committerJaegeuk Kim <jaegeuk@kernel.org>2026-10-07 14:16:37 +0000
commit7f35dce566fbd470c57fe83dd9ebba856e78539c (patch)
tree22bbef7fd6119cec24922bd7c9632c1d654c5fba /tools/lib/python
parente881f4730f758cdb6db84cbda1b3d22b26aa497c (diff)
f2fs: cache: shrink meta and node caches in f2fs_balance_fs_bg
This patch introduces META_BLOCK and NODE_BLOCK memory types to monitor meta and node cache usage against available free memory, and integrates them into f2fs_balance_fs_bg(). In f2fs_balance_fs_bg(), shrink 128 clean cached blocks of each types when memory is insufficient (cache memory usage is larger than 50% of low memory). Signed-off-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions