All of lore.kernel.org
 help / color / mirror / Atom feed
* [Virtio-fs] [PATCH 0/3] virtiofsd: add FUSE_INIT map_alignment field
@ 2019-07-26  8:33 ` Stefan Hajnoczi
  0 siblings, 0 replies; 10+ messages in thread
From: Stefan Hajnoczi @ 2019-07-26  8:33 UTC (permalink / raw)
  To: qemu-devel, virtio-fs

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(-)

-- 
2.21.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-07-29  9:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-26  8:33 [Virtio-fs] [PATCH 0/3] virtiofsd: add FUSE_INIT map_alignment field Stefan Hajnoczi
2019-07-26  8:33 ` [Qemu-devel] " Stefan Hajnoczi
2019-07-26  8:33 ` [Virtio-fs] [PATCH 1/3] virtiofsd: sync up fuse.h Linux 5.1 header Stefan Hajnoczi
2019-07-26  8:33   ` [Qemu-devel] " Stefan Hajnoczi
2019-07-26  8:33 ` [Virtio-fs] [PATCH 2/3] virtiofsd: add map_alignment to fuse_kernel.h Stefan Hajnoczi
2019-07-26  8:33   ` [Qemu-devel] " Stefan Hajnoczi
2019-07-26  8:33 ` [Virtio-fs] [PATCH 3/3] virtiofsd: implement FUSE_INIT map_alignment field Stefan Hajnoczi
2019-07-26  8:33   ` [Qemu-devel] " Stefan Hajnoczi
2019-07-29  9:25 ` [Virtio-fs] [PATCH 0/3] virtiofsd: add " Dr. David Alan Gilbert
2019-07-29  9:25   ` [Qemu-devel] " Dr. David Alan Gilbert

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.