qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] virtiofsd: Add support for FUSE_SYNCFS request
@ 2022-01-25 14:12 Greg Kurz
  2022-01-25 14:12 ` [PATCH v4 1/2] virtiofsd: Track mounts Greg Kurz
  2022-01-25 14:12 ` [PATCH v4 2/2] virtiofsd: Add support for FUSE_SYNCFS request Greg Kurz
  0 siblings, 2 replies; 7+ messages in thread
From: Greg Kurz @ 2022-01-25 14:12 UTC (permalink / raw)
  To: qemu-devel
  Cc: Sebastian Hasler, Greg Kurz, Dr. David Alan Gilbert, virtio-fs,
	Stefan Hajnoczi, Vivek Goyal

FUSE_SYNCFS allows the client to flush the host page cache.

v4: - based on upstream linux FUSE_SYNCFS
    - added support for the '-o announce_submounts' case, i.e. client sends
      a FUSE_SYNCFS request for each submount (identified by its root inode)
    - adapted the case without '-o announce_submounts' so that syncfs() is
      no longer called with lo->mutex held

v3: - track submounts and do per-submount syncfs() (Vivek)
    - based on new version of FUSE_SYNCFS (still not upstream)
      https://listman.redhat.com/archives/virtio-fs/2021-May/msg00025.html

v2: - based on new version of FUSE_SYNCFS
      https://listman.redhat.com/archives/virtio-fs/2021-April/msg00166.html
    - propagate syncfs() errors to client (Vivek)

Greg Kurz (2):
  virtiofsd: Track mounts
  virtiofsd: Add support for FUSE_SYNCFS request

 tools/virtiofsd/fuse_lowlevel.c       |  11 ++
 tools/virtiofsd/fuse_lowlevel.h       |  13 +++
 tools/virtiofsd/passthrough_ll.c      | 141 +++++++++++++++++++++++++-
 tools/virtiofsd/passthrough_seccomp.c |   1 +
 4 files changed, 163 insertions(+), 3 deletions(-)

-- 
2.34.1




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

end of thread, other threads:[~2022-01-27 11:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-25 14:12 [PATCH v4 0/2] virtiofsd: Add support for FUSE_SYNCFS request Greg Kurz
2022-01-25 14:12 ` [PATCH v4 1/2] virtiofsd: Track mounts Greg Kurz
2022-01-26 22:47   ` Vivek Goyal
2022-01-26 23:02     ` [Virtio-fs] " Vivek Goyal
2022-01-27 11:42       ` Greg Kurz
2022-01-27 11:11     ` Greg Kurz
2022-01-25 14:12 ` [PATCH v4 2/2] virtiofsd: Add support for FUSE_SYNCFS request Greg Kurz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).