Re: [PATCH] iomap: Remove FGP_NOFS from iomap_get_folio()

Shin'ichiro Kawasaki <[email protected]> Mon, 6 Jul 2026 15:29:39 +0900
Newsgroups dev.linux.lists.gfs2,dev.linux.lists.fuse-devel,dev.linux.lists.ntfs3,org.kernel.vger.linux-block,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-xfs
Message-ID <aktK-gWJcef1W0So@shinmob>
On Jun 24, 2026 / 18:42, Matthew Wilcox (Oracle) wrote:
> FGP_NOFS is legacy; filesystems should be using memalloc_nofs_save/restore
> instead.  We have it here in iomap because it was buried in
> grab_cache_page_write_begin() and we didn't want to change this behaviour
> as part of the folio transition.
> 
> I have tested this with XFS and see no issues.  Other filesystems (cc'd)
> may need to make adjustments.  Please test with lockdep enabled.

I applied this patch on top of v7.2-rc1 kernel, and ran my zonefs test set.
I observed no failure. Good from zonefs point of view:

Tested-by: Shin'ichiro Kawasaki <[email protected]>