[f2fs-dev] [PATCH 1/2] f2fs: fix iostat lock protection
patchwork-bot+f2fs at kernel.org
patchwork-bot+f2fs at kernel.org
Mon Apr 3 11:30:18 PDT 2023
Hello:
This series was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk at kernel.org>:
On Fri, 31 Mar 2023 17:26:56 +0800 you wrote:
> From: Qilin Tan <qilin.tan at mediatek.com>
>
> Made iostat lock irq safe to avoid potentinal deadlock.
>
> Deadlock scenario:
> f2fs_attr_store
> -> f2fs_sbi_store
> -> _sbi_store
> -> spin_lock(sbi->iostat_lock)
> <interrupt request>
> -> scsi_end_request
> -> bio_endio
> -> f2fs_dio_read_end_io
> -> f2fs_update_iostat
> -> spin_lock_irqsave(sbi->iostat_lock) ===> Dead lock here
>
> [...]
Here is the summary with links:
- [f2fs-dev,1/2] f2fs: fix iostat lock protection
https://git.kernel.org/jaegeuk/f2fs/c/daa080db4e7e
- [f2fs-dev,2/2] f2fs: add __pack attribute for extent_info
(no matching commit)
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the Linux-mediatek
mailing list