Re: [PATCH v2] mm: fix alginment of VMA for memory mapped files on THP

From: Alex Zhu (Kernel)
Date: Tue Aug 02 2022 - 15:36:56 EST



> Commit dbe6ec815641 ("ext2/4, xfs: call thp_get_unmapped_area() for pmd
> mappings") adds the callback for DAX, that btrfs does not support so it
> was left out.

Commit 1854bc6e2420 ("mm/readahead: Align file mappings for non-DAX”) removed the DAX requirement.
We should now be able to call thp_get_unmapped_area() for btrfs.

I’ll send out a v3 with the subject and sign off corrected. Thanks!