[Virtio-fs] [PATCH v2 0/2] viritofsd: Add support for FUSE_HANDLE_KILLPRIV_V2

Vivek Goyal vgoyal at redhat.com
Thu Nov 12 18:24:16 UTC 2020


Hi,

This is V2 of patches to add support for FUSE_HANDLE_KILLPRIV_V2. This
is basically a feature file server can opt-in. And with xattr enabled,
this improves write performance many fold (jumps from 50MB/s to
300MB/s approx).

kernel patches have now been staged in for-next branch of fuse tree by Miklos.

https://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git/log/?h=for-next

I tested virtiofsd with these patches and things look good to me.
Posting now for review and inclusion as soon as kernel patches are
merged in 5.11.

Thanks
Vivek

Vivek Goyal (2):
  virtiofsd: Save error code early at the failure callsite
  viriofsd: Add support for FUSE_HANDLE_KILLPRIV_V2

 include/standard-headers/linux/fuse.h |  28 ++++++-
 tools/virtiofsd/fuse_common.h         |  15 ++++
 tools/virtiofsd/fuse_lowlevel.c       |  11 ++-
 tools/virtiofsd/fuse_lowlevel.h       |   1 +
 tools/virtiofsd/passthrough_ll.c      | 116 +++++++++++++++++++++++---
 5 files changed, 153 insertions(+), 18 deletions(-)

-- 
2.25.4




More information about the Virtio-fs mailing list