diff options
author | 2020-11-06 13:22:05 -0800 | |
---|---|---|
committer | 2020-12-03 00:59:26 -0800 | |
commit | a95ba66ac1457b76fe472c8e092ab1006271f16c (patch) | |
tree | 2ec5e949c50264adc344407585fd6cc3ffc7f964 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f2fs: add F2FS_IOC_DECOMPRESS_FILE and F2FS_IOC_COMPRESS_FILE (diff) | |
download | wireguard-linux-a95ba66ac1457b76fe472c8e092ab1006271f16c.tar.xz wireguard-linux-a95ba66ac1457b76fe472c8e092ab1006271f16c.zip |
f2fs: avoid race condition for shrinker count
Light reported sometimes shinker gets nat_cnt < dirty_nat_cnt resulting in
wrong do_shinker work. Let's avoid to return insane overflowed value by adding
single tracking value.
Reported-by: Light Hsieh <Light.Hsieh@mediatek.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions