[Virtio-fs] [RFC 2/2] virtiofsd: Set st_rdev for sub-mount points
Miklos Szeredi
mszeredi at redhat.com
Thu May 7 15:23:52 UTC 2020
On Thu, May 7, 2020 at 5:15 PM Max Reitz <mreitz at redhat.com> wrote:
>
> On 07.05.20 16:29, Miklos Szeredi wrote:
> > Hmm, do we need a separate bit, then? Couldn't the kernel decide
> > based on st_dev whether a new submount is needed? I.e. return root
> > st_dev in INIT reply, store it in root fuse_mount and lookups compare
> > attr.dev to fm->st_dev.
>
> That was the idea, but there is no fuse_attr.dev, which is why I
> (ab)used fuse_attr.rdev instead.
Ah, right.
Thanks,
Miklos
More information about the Virtio-fs
mailing list