Re: [PATCH v3 11/18] fuse: implement FUSE_INIT map_alignment field

From: Miklos Szeredi
Date: Wed Aug 26 2020 - 15:26:49 EST


On Wed, Aug 26, 2020 at 9:17 PM Dr. David Alan Gilbert
<dgilbert@xxxxxxxxxx> wrote:

> Agreed, because there's not much that the server can do about it if the
> client would like a smaller granularity - the servers granularity might
> be dictated by it's mmap/pagesize/filesystem. If the client wants a
> larger granularity that's it's choice when it sends the setupmapping
> calls.

What bothers me is that the server now comes with the built in 2MiB
granularity (obviously much larger than actually needed).

What if at some point we'd want to reduce that somewhat in the client?
Yeah, we can't. Maybe this is not a kernel problem after all, the
proper thing would be to fix the server to actually send something
meaningful.

Thanks,
Miklos