Re: [PATCH v3] fuse: back uncached readdir buffers with pages
From: Miklos Szeredi
Date: Wed Jun 10 2026 - 08:25:07 EST
On Fri, 22 May 2026 at 03:32, Matt Ochs <mochs@xxxxxxxxxx> wrote:
> For the remaining virtiofsd issue, does capping the local READDIR response
> size in virtiofsd sound like the right direction? READDIR can return less
> than requested, so treating MAX_BUFFER_SIZE as the maximum chunk to produce
> seems preferable to rejecting an otherwise valid request.
Right. The server has every right to return a short count on a
READDIR request, so capping it at MAX_BUFFER_SIZE is fine.
Thanks,
Miklos