Skip to content

RFC virtiofs: Add a notification queue

Vivek Goyal linux-fsdevel lkml virtio-fs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4virtiofs: Provide a helper function for virtqueue initializationfs/fuse/virtio_fs.c+30 -200 replies
2/4virtiofs: Add an index to keep track of first request queuefs/fuse/virtio_fs.c+13 -82 replies
3/4virtiofs: Add a virtqueue for notificationsfs/fuse/virtio_fs.c include/uapi/linux/virtio_fs.h+193 -110 replies
4/4virtiofs: Support blocking posix locks (fcntl(F_SETLKW))fs/fuse/virtio_fs.c include/uapi/linux/fuse.h+84 -12 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] [RFC] virtiofs: Add a notification queue

Hi,

These are RFC patches for adding a notification queue to allow sending notifications from host to guest.

It also adds support for blocking remote posix locks using the newly introduced notification queue.

These patches apply on top of 5.4-rc8 plus following patch series I had posted a while back.

https://lkml.org/lkml/2019/10/30/493

These changes require virtio spec changes as well. I have yet to do that.

Thanks
Vivek

Vivek Goyal (4):
virtiofs: Provide a helper function for virtqueue initialization
virtiofs: Add an index to keep track of first request queue
virtiofs: Add a virtqueue for notifications
virtiofs: Support blocking posix locks (fcntl(F_SETLKW))

 fs/fuse/virtio_fs.c            | 328 ++++++++++++++++++++++++++++++---
 include/uapi/linux/fuse.h      |   7 +
 include/uapi/linux/virtio_fs.h |   5 +
 3 files changed, 310 insertions(+), 30 deletions(-)
Signature · 1 line
2.20.1