On Fri, May 10, 2024 at 12:29:05PM +0200, hare@xxxxxxxxxx wrote: > From: Hannes Reinecke <hare@xxxxxxx> > > Call mapping_set_folio_min_order() when modifying the logical block > size to ensure folios are allocated with the correct size. This makes me nervous. It lets the pagecache allocate folios larger than min_order (all the way up to PMD_ORDER). Filesystems may not cope well with seeing tail pages. I'd _like_ to be able to do this. But I think for now we need to call mapping_set_folio_order_range(mapping, order, order);