[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <168437462152.19511.17219175731809504338.git-patchwork-notify@kernel.org>
Date: Thu, 18 May 2023 01:50:21 +0000
From: patchwork-bot+f2fs@...nel.org
To: Chao Yu <chao@...nel.org>
Cc: jaegeuk@...nel.org, linux-kernel@...r.kernel.org,
linux-f2fs-devel@...ts.sourceforge.net
Subject: Re: [f2fs-dev] [PATCH] f2fs: fix potential deadlock due to unpaired
node_write lock use
Hello:
This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk@...nel.org>:
On Sun, 14 May 2023 16:07:23 +0800 you wrote:
> If S_NOQUOTA is cleared from inode during data page writeback of quota
> file, it may miss to unlock node_write lock, result in potential
> deadlock, fix to use the lock in paired.
>
> Kworker Thread
> - writepage
> if (IS_NOQUOTA())
> f2fs_down_read(&sbi->node_write);
> - vfs_cleanup_quota_inode
> - inode->i_flags &= ~S_NOQUOTA;
> if (IS_NOQUOTA())
> f2fs_up_read(&sbi->node_write);
>
> [...]
Here is the summary with links:
- [f2fs-dev] f2fs: fix potential deadlock due to unpaired node_write lock use
https://git.kernel.org/jaegeuk/f2fs/c/a731b6aefbb4
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists