Re: [PATCH v2] fuse: back uncached readdir buffers with pages

From: Bernd Schubert

Date: Wed Apr 29 2026 - 06:53:35 EST




On 4/29/26 12:38, Miklos Szeredi wrote:
> On Wed, 29 Apr 2026 at 11:29, Bernd Schubert <bschubert@xxxxxxx> wrote:
>
>> Josef and Joanne had spent quite some time to allow to use large folios
>> - maybe we should make use of it? Attached is a totally untested patch
>> and that ignores all of Miklos' comments for now. Also cannot be that
>> easily back ported
>
> I'd be happier if the VM infrastructure for folio arrays was available
> first, then used in fuse. Not the other way round.

It is only the the missing vm_map part for folios? I had found a patch

https://lists.freedesktop.org/archives/dri-devel/2025-March/497993.html

and added the comment therefore. Maybe we can bring it up with Matthew
or someone else from mm next week.

A bit a pity if there is generic support for large folios and fuse
internals for random reasons then still use single pages.

Thanks,
Bernd