[PATCH 4/5] block/bdev: enable large folio support for large logical block sizes
Matthew Wilcox
willy at infradead.org
Fri May 10 15:35:08 PDT 2024
On Fri, May 10, 2024 at 12:29:05PM +0200, hare at kernel.org wrote:
> From: Hannes Reinecke <hare at suse.de>
>
> 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);
More information about the Linux-nvme
mailing list