Re: [f2fs-dev] [DISCUSSION] f2fs: compatibility between compressed files and large folios

Jaegeuk Kim via Linux-f2fs-devel <[email protected]> Mon, 3 Aug 2026 23:38:55 +0000
Newsgroups net.sourceforge.lists.linux-f2fs-devel
Message-ID <[email protected]>
On 07/31, Nanzhe Zhao via Linux-f2fs-devel wrote:
> The quote part of last email to reply is:
> 
> > Can we call truncate_inode_pages() after mapping_set_folio_order_range()? something
> > like this:
> >
> >                 filemap_invalidate_lock
> >
> >                 mapping_set_folio_order_range(, 0, 0)
> 
> Thanks,
> 
> Nanzhe

From the previous experience, this won't work, as you mentioned it's not allowed
to change the order on the fly. Should set the order in f2fs_iget() only, but
it'd be better to keep supporting compression. :)

> 
> 
> 
> _______________________________________________
> Linux-f2fs-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel


_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel