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
..
2022-09-07 04:52:58 +00:00
2022-02-05 12:37:55 +01:00
2022-08-23 22:09:33 +00:00
2021-05-19 10:13:18 +02:00
2022-03-16 15:01:36 +01:00
2021-02-23 08:10:56 +01:00
2022-04-08 14:39:46 +02:00
2021-05-13 07:53:31 +00:00
2021-10-21 08:33:13 -07:00
2022-04-18 17:41:18 +02:00
2020-10-15 07:49:38 +02:00
2022-01-27 10:54:29 +01:00
2021-09-15 09:50:42 +02:00
2020-10-23 13:56:34 -07:00
2020-10-16 12:36:38 -07:00
2022-05-12 11:23:35 +02:00
2022-01-27 10:54:29 +01:00
2022-02-08 18:30:40 +01:00
2021-12-29 12:25:59 +01:00
2022-05-10 16:09:36 +00:00
2020-11-02 13:45:37 +01:00
2021-12-14 11:32:42 +01:00
2020-10-13 13:33:16 -05:00
2020-11-04 11:38:32 +01:00
2021-12-29 14:17:18 +01:00
2021-03-11 16:02:39 +00:00
2021-05-26 12:06:53 +02:00
2022-04-08 14:39:50 +02:00
2020-10-21 15:43:32 +02:00
2021-03-25 09:04:11 +01:00
2021-03-04 11:37:59 +01:00
2020-10-13 13:33:16 -05:00
2022-08-08 17:51:50 +00:00
2021-05-22 11:40:55 +02:00
2021-05-22 11:40:55 +02:00
2022-03-12 13:57:09 +01:00
2020-11-11 17:12:00 -08:00
2022-07-08 06:21:23 +00:00
2021-07-14 17:35:23 +02:00
2021-06-16 13:14:03 +02:00
2022-05-16 08:45:59 +02:00
2020-12-30 11:54:29 +01:00
2020-11-16 02:13:15 -08:00
2021-02-03 23:28:40 +01:00
2020-11-03 13:14:14 -08:00
2021-05-19 10:12:59 +02:00
2020-10-30 13:08:07 +01:00
2020-11-03 09:57:30 -08:00