android_kernel_xiaomi_sm8450/fs/f2fs
Jaegeuk Kim 604f2f5656 BACKPORT: f2fs: don't get FREEZE lock in f2fs_evict_inode in frozen fs
Let's purge inode cache in order to avoid the below deadlock.

[freeze test]                         shrinkder
freeze_super
 - pwercpu_down_write(SB_FREEZE_FS)
                                       - super_cache_scan
                                         - down_read(&sb->s_umount)
                                           - prune_icache_sb
                                            - dispose_list
                                             - evict
                                              - f2fs_evict_inode
thaw_super
 - down_write(&sb->s_umount);
                                              - __percpu_down_read(SB_FREEZE_FS)

Bug: 242127451
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Change-Id: Ifa01aca90eab6968c5e511fb3819854121aa9b7c
(cherry picked from commit e3d44a0028f58cd1dcba053120652e1a1ea6ce12)
2022-09-07 04:52:58 +00:00
..
acl.c f2fs: clean up build warnings 2021-04-11 20:34:05 -07:00
acl.h f2fs: Use the correct style for SPDX License Identifier 2020-05-08 06:55:55 -07:00
checkpoint.c This is the 5.10.110 stable release 2022-04-18 17:41:18 +02:00
compress.c This is the 5.10.110 stable release 2022-04-18 17:41:18 +02:00
data.c BACKPORT: f2fs: introduce F2FS_IPU_HONOR_OPU_WRITE ipu policy 2022-09-02 05:39:17 +00:00
debug.c FROMGIT: f2fs: add sysfs nodes to get GC info for each GC mode 2021-07-16 00:21:51 +00:00
dir.c FROMGIT: f2fs: move f2fs to use reader-unfair rwsems 2022-02-05 17:19:05 +00:00
extent_cache.c f2fs: support 64-bits key in f2fs rb-tree node entry 2020-09-10 14:03:30 -07:00
f2fs.h BACKPORT: f2fs: don't get FREEZE lock in f2fs_evict_inode in frozen fs 2022-09-07 04:52:58 +00:00
file.c BACKPORT: f2fs: introduce F2FS_IPU_HONOR_OPU_WRITE ipu policy 2022-09-02 05:39:17 +00:00
gc.c This is the 5.10.110 stable release 2022-04-18 17:41:18 +02:00
gc.h f2fs: introduce gc_merge mount option 2021-03-30 20:59:19 -07:00
hash.c f2fs: Handle casefolding with Encryption 2020-12-21 13:33:14 -08:00
inline.c FROMGIT: f2fs: move f2fs to use reader-unfair rwsems 2022-02-05 17:19:05 +00:00
inode.c BACKPORT: f2fs: don't get FREEZE lock in f2fs_evict_inode in frozen fs 2022-09-07 04:52:58 +00:00
Kconfig f2fs: compress: Allow modular (de)compression algorithms 2021-03-24 15:50:10 -07:00
Makefile f2fs: deprecate f2fs_trace_io 2021-01-26 23:06:01 -08:00
namei.c FROMGIT: f2fs: move f2fs to use reader-unfair rwsems 2022-02-05 17:19:05 +00:00
node.c This is the 5.10.110 stable release 2022-04-18 17:41:18 +02:00
node.h f2fs: swap: support migrating swapfile in aligned write mode 2021-06-07 10:21:38 -07:00
recovery.c FROMGIT: f2fs: move f2fs to use reader-unfair rwsems 2022-02-05 17:19:05 +00:00
segment.c BACKPORT: f2fs: invalidate meta pages only for post_read required inode 2022-08-31 17:27:35 +08:00
segment.h BACKPORT: f2fs: introduce F2FS_IPU_HONOR_OPU_WRITE ipu policy 2022-09-02 05:39:17 +00:00
shrinker.c f2fs: avoid race condition for shrinker count 2021-01-06 14:56:54 +01:00
super.c BACKPORT: f2fs: don't get FREEZE lock in f2fs_evict_inode in frozen fs 2022-09-07 04:52:58 +00:00
sysfs.c This is the 5.10.110 stable release 2022-04-18 17:41:18 +02:00
verity.c FROMGIT: f2fs: move f2fs to use reader-unfair rwsems 2022-02-05 17:19:05 +00:00
xattr.c Merge branch 'android12-5.10' into android12-5.10-lts 2022-02-09 18:16:30 +01:00
xattr.h f2fs: code cleanup by removing ifdef macro surrounding 2020-05-26 18:56:10 -07:00