Skip to content

RFC virtiofsd: Announce submounts

Max Reitz virtio-fs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2virtiofsd: Store every lo_inode's parent_devtools/virtiofsd/passthrough_ll.c+20 -00 replies
2/2virtiofsd: Set st_rdev for sub-mount pointstools/virtiofsd/passthrough_ll.c+50 -98 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/2] virtiofsd: Announce submounts

Hi,

As explained in the common cover letter (<[email protected]>),
we want to let the guest mirror the mount structure on the host.

To do so, we need to set st_rdev to a non-zero value[1] for mount points, and this is what this series makes virtiofsd do (optionally, because some users may prefer not to pass this information through to the guest).

[1] In practice, any non-zero value will do, but we might want it to be st_dev so the guest might in the future special-case duplicate mounts (by using a single block device for them, so they all get the same st_dev).

Max Reitz (2):
virtiofsd: Store every lo_inode's parent_dev
virtiofsd: Set st_rdev for sub-mount points

 tools/virtiofsd/passthrough_ll.c | 79 ++++++++++++++++++++++++++++----
 1 file changed, 70 insertions(+), 9 deletions(-)
Signature · 1 line
2.26.2