lkml.org 
[lkml]   [2023]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [f2fs-dev] [PATCH 1/2] f2fs: fix iostat lock protection
From
Date
Hello:

This series was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk@kernel.org>:

On Fri, 31 Mar 2023 17:26:56 +0800 you wrote:
> From: Qilin Tan <qilin.tan@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


\
 
 \ /
  Last update: 2023-04-03 20:31    [W:0.098 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site