Re: [f2fs-dev] [PATCH v2 1/2] f2fs: quota: do not use GFP_NOFS in f2fs_quota_read()
From: patchwork-bot+f2fs
Date: Mon Jul 13 2026 - 23:02:43 EST
Hello:
This series was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk@xxxxxxxxxx>:
On Tue, 7 Jul 2026 19:39:33 +0800 you wrote:
> Commit 02117b8ae9c0 ("f2fs: Set GF_NOFS in read_cache_page_gfp while doing
> f2fs_quota_read") adds GFP_NOFS in f2fs_quota_read() to avoid below deadlock:
>
> - do_sys_open
> - vfs_open
> - dquot_file_open
> - dquot_initialize
> - dqget
> - dquot_acquire
> : locks &dqopt->dqio_mutex (VFS Quota Mutex)
> - qtree_read_dquot
> - f2fs_quota_read
> - read_mapping_page (GFP_KERNEL / allows GFP_FS)
> - __alloc_pages_nodemask
> - try_to_free_pages (Direct Reclaim)
> - prune_icache_sb
> - evict
> - f2fs_evict_inode
> - dquot_drop
> - dqput
> - dquot_commit
> : tries to lock &dqopt->dqio_mutex again
> ==> DEADLOCK (waiting for itself)
>
> [...]
Here is the summary with links:
- [f2fs-dev,v2,1/2] f2fs: quota: do not use GFP_NOFS in f2fs_quota_read()
https://git.kernel.org/jaegeuk/f2fs/c/9f3a37815818
- [f2fs-dev,v2,2/2] f2fs: drop FGP_NOFS in f2fs_write_begin()
https://git.kernel.org/jaegeuk/f2fs/c/6e7205a702e2
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html