Skip to content

RFC fuse: Auto-mounted submounts

Max Reitz virtio-fs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5fuse: Store fuse_conn in fuse_reqfs/fuse/dev.c fs/fuse/fuse_i.h+10 -60 replies
2/5fuse: Drop fuse_conn parameter where possiblefs/fuse/dev.c fs/fuse/fuse_i.h fs/fuse/virtio_fs.c+43 -370 replies
3/5fuse: Split fuse_mount off of fuse_connfs/fuse/control.c fs/fuse/dev.c fs/fuse/dir.c +6 more+563 -4277 replies
4/5fuse: Allow fuse_fill_super_common() for submountsfs/fuse/fuse_i.h fs/fuse/inode.c fs/fuse/virtio_fs.c+74 -270 replies
5/5fuse: Implement crossmountsfs/fuse/dir.c fs/fuse/fuse_i.h fs/fuse/inode.c +1 more+93 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [Virtio-fs] [RFC 0/5] fuse: Auto-mounted submounts

Hi,

As explained in the common cover letter (<[email protected]>),
we want the Linux FUSE driver to be able to create auto-mounted submounts for every submount on the host.

To do so, we need to allow multiple super blocks per fuse_conn, which is done by splitting an SB-specific fuse_mount structure off of fuse_conn, so there can be multiple fuse_mounts per fuse_conn.

We can then create new super blocks (with anonymous block devices backing them) for every submount point, letting them point to a shared fuse_conn structure.

Max Reitz (5):
fuse: Store fuse_conn in fuse_req
fuse: Drop fuse_conn parameter where possible
fuse: Split fuse_mount off of fuse_conn
fuse: Allow fuse_fill_super_common() for submounts
fuse: Implement crossmounts

 fs/fuse/fuse_i.h    | 131 ++++++++++++++++++--------
 fs/fuse/control.c   | 194 +++++++++++++++++++-------------------
 fs/fuse/dev.c       | 215 ++++++++++++++++++++++++------------------
 fs/fuse/dir.c       | 191 +++++++++++++++++++++++++++-----------
 fs/fuse/file.c      | 212 +++++++++++++++++++++---------------------
 fs/fuse/inode.c     | 221 ++++++++++++++++++++++++++++++--------------
 fs/fuse/readdir.c   |  10 +-
 fs/fuse/virtio_fs.c |  40 +++++---
 fs/fuse/xattr.c     |  34 +++----
 9 files changed, 766 insertions(+), 482 deletions(-)
Signature · 1 line
2.26.2