Re: [f2fs-dev] [PATCH] f2fs: Prevent s_writer rw_sem count mismatch in f2fs_evict_inode
From: patchwork-bot+f2fs
Date: Sun Apr 14 2024 - 11:34:22 EST
Hello:
This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk@xxxxxxxxxx>:
On Fri, 22 Mar 2024 13:16:39 +0900 you wrote:
> If f2fs_evict_inode is called between freeze_super and thaw_super, the
> s_writer rwsem count may become negative, resulting in hang.
>
> CPU1 CPU2
>
> f2fs_resize_fs() f2fs_evict_inode()
> f2fs_freeze
> set SBI_IS_FREEZING
> skip sb_start_intwrite
> f2fs_unfreeze
> clear SBI_IS_FREEZING
> sb_end_intwrite
>
> [...]
Here is the summary with links:
- [f2fs-dev] f2fs: Prevent s_writer rw_sem count mismatch in f2fs_evict_inode
https://git.kernel.org/jaegeuk/f2fs/c/3127f1010c9b
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html