Skip to content

virtiofsd: Support notification queue and

Vivek Goyal qemu-devel virtio-fs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 41 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13virtio_fs.h: Add notification queue feature bitinclude/standard-headers/linux/virtio_fs.h+3 -01 reply
2/13virtiofsd: fuse.h header file changes for lock notificationinclude/standard-headers/linux/fuse.h+10 -12 replies
3/13virtiofsd: Remove unused virtio_fs_config definitiontools/virtiofsd/fuse_virtio.c+0 -61 reply
4/13virtiofsd: Add a helper to send element on virtqueuetools/virtiofsd/fuse_virtio.c+18 -271 reply
5/13virtiofsd: Add a helper to stop all queuestools/virtiofsd/fuse_virtio.c+13 -91 reply
6/13vhost-user-fs: Use helpers to create/cleanup virtqueuehw/virtio/vhost-user-fs.c+52 -355 replies
7/13virtiofsd: Release file locks using F_UNLCKtools/virtiofsd/passthrough_ll.c+17 -42 replies
8/13virtiofsd: Create a notification queuehw/virtio/vhost-user-fs-pci.c hw/virtio/vhost-user-fs.c include/hw/virtio/vhost-user-fs.h +2 more+116 -234 replies
9/13virtiofsd: Specify size of notification buffer using config spacehw/virtio/vhost-user-fs.c include/hw/virtio/vhost-user-fs.h include/standard-headers/linux/virtio_fs.h +1 more+62 -03 replies
10/13virtiofsd: Custom threadpool for remote blocking posix locks requeststools/virtiofsd/fuse_virtio.c tools/virtiofsd/meson.build tools/virtiofsd/passthrough_seccomp.c +2 more+440 -14 replies
11/13virtiofsd: Shutdown notification queue in the endtools/virtiofsd/fuse_virtio.c+26 -14 replies
12/13virtiofsd: Implement blocking posix lockstools/virtiofsd/fuse_lowlevel.c tools/virtiofsd/fuse_lowlevel.h tools/virtiofsd/fuse_virtio.c +1 more+167 -167 replies
13/13virtiofsd, seccomp: Add clock_nanosleep() to allow listtools/virtiofsd/passthrough_seccomp.c+1 -05 replies

Reviews trailers per patch

5 of 13 patches have a Reviewed-by or Acked-by.

PatchStefan Hajnoczi
1/13R-b
2/13
3/13R-b
4/13R-b
5/13R-b
6/13R-b
7/13
8/13
9/13
10/13
11/13
12/13
13/13

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/13] virtiofsd: Support notification queue and

Hi,

Here are the patches to support notification queue and blocking posix locks. One of the biggest change since las time has been creation of custom thread pool for handling locking requests. Thanks to Ioannis for doing most of the work on custom thread pool.

I have posted corresponding kernel changes here.

https://lore.kernel.org/linux-fsdevel/[email protected]/T/#mb2d0fbfdb580ef33b6e812d0acbd16333b11f2cf

Any feedback is welcome.

Thanks
Vivek

Vivek Goyal (13):
virtio_fs.h: Add notification queue feature bit
virtiofsd: fuse.h header file changes for lock notification
virtiofsd: Remove unused virtio_fs_config definition
virtiofsd: Add a helper to send element on virtqueue
virtiofsd: Add a helper to stop all queues
vhost-user-fs: Use helpers to create/cleanup virtqueue
virtiofsd: Release file locks using F_UNLCK
virtiofsd: Create a notification queue
virtiofsd: Specify size of notification buffer using config space
virtiofsd: Custom threadpool for remote blocking posix locks requests
virtiofsd: Shutdown notification queue in the end
virtiofsd: Implement blocking posix locks
virtiofsd, seccomp: Add clock_nanosleep() to allow list

 hw/virtio/vhost-user-fs-pci.c              |   4 +-
 hw/virtio/vhost-user-fs.c                  | 158 ++++++++--
 include/hw/virtio/vhost-user-fs.h          |   4 +
 include/standard-headers/linux/fuse.h      |  11 +-
 include/standard-headers/linux/virtio_fs.h |   5 +
 tools/virtiofsd/fuse_i.h                   |   1 +
 tools/virtiofsd/fuse_lowlevel.c            |  37 ++-
 tools/virtiofsd/fuse_lowlevel.h            |  26 ++
 tools/virtiofsd/fuse_virtio.c              | 339 +++++++++++++++++----
 tools/virtiofsd/meson.build                |   1 +
 tools/virtiofsd/passthrough_ll.c           |  91 +++++-
 tools/virtiofsd/passthrough_seccomp.c      |   2 +
 tools/virtiofsd/tpool.c                    | 331 ++++++++++++++++++++
 tools/virtiofsd/tpool.h                    |  18 ++
 14 files changed, 915 insertions(+), 113 deletions(-)
 create mode 100644 tools/virtiofsd/tpool.c
 create mode 100644 tools/virtiofsd/tpool.h
Signature · 1 line
2.31.1