linux-stable/fs/f2fs
Jaegeuk Kim a95ba66ac1 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>
2020-12-03 00:59:26 -08:00
..
acl.c f2fs: Remove the redundancy initialization 2020-12-02 22:00:21 -08:00
acl.h
checkpoint.c f2fs: avoid race condition for shrinker count 2020-12-03 00:59:26 -08:00
compress.c f2fs: add compress_mode mount option 2020-12-03 00:11:57 -08:00
data.c f2fs: add compress_mode mount option 2020-12-03 00:11:57 -08:00
debug.c f2fs: avoid race condition for shrinker count 2020-12-03 00:59:26 -08:00
dir.c f2fs: Handle casefolding with Encryption 2020-12-02 22:00:21 -08:00
extent_cache.c
f2fs.h f2fs: avoid race condition for shrinker count 2020-12-03 00:59:26 -08:00
file.c f2fs: add F2FS_IOC_DECOMPRESS_FILE and F2FS_IOC_COMPRESS_FILE 2020-12-03 00:12:08 -08:00
gc.c f2fs: change to use rwsem for cp_mutex 2020-12-02 22:00:21 -08:00
gc.h
hash.c f2fs: Handle casefolding with Encryption 2020-12-02 22:00:21 -08:00
inline.c f2fs: Handle casefolding with Encryption 2020-12-02 22:00:21 -08:00
inode.c f2fs: compress: support chksum 2020-12-02 22:00:22 -08:00
Kconfig
Makefile
namei.c fscrypt: Have filesystems handle their d_ops 2020-12-02 22:00:21 -08:00
node.c f2fs: avoid race condition for shrinker count 2020-12-03 00:59:26 -08:00
node.h f2fs: avoid race condition for shrinker count 2020-12-03 00:59:26 -08:00
recovery.c f2fs: change to use rwsem for cp_mutex 2020-12-02 22:00:21 -08:00
segment.c f2fs: add compress_mode mount option 2020-12-03 00:11:57 -08:00
segment.h
shrinker.c f2fs: avoid race condition for shrinker count 2020-12-03 00:59:26 -08:00
super.c f2fs: add compress_mode mount option 2020-12-03 00:11:57 -08:00
sysfs.c f2fs: fix kbytes written stat for multi-device case 2020-12-02 22:00:22 -08:00
trace.c
trace.h
verity.c
xattr.c
xattr.h