Jaegeuk Kim
86db71810a
f2fs: avoid race condition for shrinker count
[ Upstream commit a95ba66ac1457b76fe472c8e092ab1006271f16c ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
|
2021-01-06 14:48:40 +01:00 |
| .. |
|
acl.c
|
|
|
|
acl.h
|
|
|
|
checkpoint.c
|
f2fs: avoid race condition for shrinker count
|
2021-01-06 14:48:40 +01:00 |
|
data.c
|
f2fs: Return EOF on unaligned end of file DIO read
|
2020-09-23 12:40:38 +02:00 |
|
debug.c
|
f2fs: avoid race condition for shrinker count
|
2021-01-06 14:48:40 +01:00 |
|
dir.c
|
f2fs: fix uninit-value in f2fs_lookup
|
2020-11-05 11:43:13 +01:00 |
|
extent_cache.c
|
|
|
|
f2fs.h
|
f2fs: avoid race condition for shrinker count
|
2021-01-06 14:48:40 +01:00 |
|
file.c
|
f2fs: handle readonly filesystem in f2fs_ioc_shutdown()
|
2020-06-24 17:50:19 +02:00 |
|
gc.c
|
f2fs: stop GC when the victim becomes fully valid
|
2020-10-01 13:17:21 +02:00 |
|
gc.h
|
|
|
|
hash.c
|
|
|
|
inline.c
|
f2fs: fix error path in do_recover_data()
|
2020-09-03 11:26:45 +02:00 |
|
inode.c
|
|
|
|
Kconfig
|
|
|
|
Makefile
|
|
|
|
namei.c
|
|
|
|
node.c
|
f2fs: avoid race condition for shrinker count
|
2021-01-06 14:48:40 +01:00 |
|
node.h
|
f2fs: avoid race condition for shrinker count
|
2021-01-06 14:48:40 +01:00 |
|
recovery.c
|
f2fs: fix error path in do_recover_data()
|
2020-09-03 11:26:45 +02:00 |
|
segment.c
|
f2fs: handle errors of f2fs_get_meta_page_nofail
|
2020-11-05 11:43:14 +01:00 |
|
segment.h
|
|
|
|
shrinker.c
|
f2fs: avoid race condition for shrinker count
|
2021-01-06 14:48:40 +01:00 |
|
super.c
|
f2fs: fix shift-out-of-bounds in sanity_check_raw_super()
|
2021-01-06 14:48:38 +01:00 |
|
sysfs.c
|
f2fs: wait for sysfs kobject removal before freeing f2fs_sb_info
|
2020-10-29 09:57:52 +01:00 |
|
trace.c
|
|
|
|
trace.h
|
|
|
|
verity.c
|
|
|
|
xattr.c
|
f2fs: fix to avoid memory leakage in f2fs_listxattr
|
2020-04-29 16:32:55 +02:00 |
|
xattr.h
|
|
|