[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 00/13] virtiofsd: Support notification queue and
From: |
Vivek Goyal |
Subject: |
[PATCH 00/13] virtiofsd: Support notification queue and |
Date: |
Thu, 30 Sep 2021 11:30:24 -0400 |
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/20210930143850.1188628-1-vgoyal@redhat.com/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
--
2.31.1
- [PATCH 00/13] virtiofsd: Support notification queue and,
Vivek Goyal <=
- [PATCH 01/13] virtio_fs.h: Add notification queue feature bit, Vivek Goyal, 2021/09/30
- [PATCH 13/13] virtiofsd, seccomp: Add clock_nanosleep() to allow list, Vivek Goyal, 2021/09/30
- [PATCH 05/13] virtiofsd: Add a helper to stop all queues, Vivek Goyal, 2021/09/30
- [PATCH 03/13] virtiofsd: Remove unused virtio_fs_config definition, Vivek Goyal, 2021/09/30
- [PATCH 08/13] virtiofsd: Create a notification queue, Vivek Goyal, 2021/09/30
- [PATCH 11/13] virtiofsd: Shutdown notification queue in the end, Vivek Goyal, 2021/09/30
- [PATCH 10/13] virtiofsd: Custom threadpool for remote blocking posix locks requests, Vivek Goyal, 2021/09/30
- [PATCH 02/13] virtiofsd: fuse.h header file changes for lock notification, Vivek Goyal, 2021/09/30
- [PATCH 04/13] virtiofsd: Add a helper to send element on virtqueue, Vivek Goyal, 2021/09/30
- [PATCH 06/13] vhost-user-fs: Use helpers to create/cleanup virtqueue, Vivek Goyal, 2021/09/30