On 06.05.20 18:04, Dr. David Alan Gilbert wrote:
> * Max Reitz ([email protected]) wrote:
>> Whenever we encounter a directory with an st_dev that differs from that
>> of its parent, we set st_rdev accordingly so the guest can create a
>> submount for it.
>>
>> Make this behavior optional, so submounts are only announced to the
>> guest with the announce_submounts option.  Some users may prefer the
>> current behavior, so that the guest learns nothing about the host mount
>> structure.
>>
>> Signed-off-by: Max Reitz <[email protected]>
> 
> Does this need to be wired to a flag in the INIT message (like say
> FUSE_ASYNC_READ) to indicate that the kernel/daemon supports this, or is
> it really safe just to start sending the changed rdev?

I supposed it to be safe, given that rdev is never used for anything but
device files, so basically it was just a reserved field for directories.

Max

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Virtio-fs mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virtio-fs

Reply via email to