Re: [f2fs-dev] Use of FGP_NOFS in f2fs

Jiucheng Xu via Linux-f2fs-devel <[email protected]>
Newsgroups net.sourceforge.lists.linux-f2fs-devel
Message-ID <[email protected]>

On 6/25/2026 3:17 AM, Matthew Wilcox wrote:
> [ EXTERNAL EMAIL ]
> 
> Hi Jiucheng,
> 
> I am trying to remove FGP_NOFS from the kernel and the last remaining
> user was added by you last year in commit 2308de27c03d.  I'm trying to
> understand why.  Did you see an actual problem if you do not use it,
> or was it theoretical?  The commit message says "to avoid potential
> deadlock issues", but it's not clear to me whether you know they are
> there, or only think they are there.
> 
> I'd really like to understand what the issues are as the normal issues
> which make calling into the filesystem (holding another folio locked,
> holding a mutex relied upon by reclaim) don't seem to be present.
> So if there is something, I'm not sure what it is.
Hi Matthew,

The FGP_NOFS flag was suggested by Chao and not adding it might lead to 
deadlock issues.

@Chao could you explain this for Matthew?


_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.