On Wed, Apr 29, 2026 at 11:29:13AM -0400, Zi Yan wrote: >Replace it with a check on the max folio order of the file's address space >mapping, making sure PMD folio is supported. Keep the inode open-for-write >check, since even if collapse_file() now makes sure all to-be-collapsed >folios are clean and the created PMD file THP can be handled by FSes >properly, the filemap_flush() could perform undesirable write back. > >Signed-off-by: Zi Yan <[email protected]> >---
LGTM. Reviewed-by: Lance Yang <[email protected]>

