On 2022/3/11 13:22, Jaegeuk Kim wrote:
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)

Signed-off-by: Jaegeuk Kim <[email protected]>

Reviewed-by: Chao Yu <[email protected]>

Thanks,


_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to