Skip to content

virtiofsd: add FUSE_INIT map_alignment field

Stefan Hajnoczi qemu-devel virtio-fs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3virtiofsd: sync up fuse.h Linux 5.1 headercontrib/virtiofsd/fuse_kernel.h+34 -170 replies
2/3virtiofsd: add map_alignment to fuse_kernel.hcontrib/virtiofsd/fuse_kernel.h+6 -10 replies
3/3virtiofsd: implement FUSE_INIT map_alignment fieldcontrib/virtiofsd/fuse_lowlevel.c+8 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/3] virtiofsd: add FUSE_INIT map_alignment field

The client must know the server's alignment constraints for FUSE_SETUPMAPPING and FUSE_REMOVEMAPPING. This is necessary because mmap(2)/munmap(2) have alignment constraints and the guest may have a different page size from the host. The new FUSE_INIT map_alignment field communicates this information to the client.

Stefan Hajnoczi (3):
virtiofsd: sync up fuse.h Linux 5.1 header
virtiofsd: add map_alignment to fuse_kernel.h
virtiofsd: implement FUSE_INIT map_alignment field

 contrib/virtiofsd/fuse_kernel.h   | 56 +++++++++++++++++++++----------
 contrib/virtiofsd/fuse_lowlevel.c |  8 +++++
 2 files changed, 47 insertions(+), 17 deletions(-)
Signature · 1 line
2.21.0