All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vivek Goyal <vgoyal@redhat.com>
To: virtio-fs-list <virtio-fs@redhat.com>, Max Reitz <mreitz@redhat.com>
Subject: [Virtio-fs] Query about announce_submounts and ro/rw mounts
Date: Wed, 3 Mar 2021 13:20:27 -0500	[thread overview]
Message-ID: <20210303182027.GA3793@redhat.com> (raw)

Hi Max,

I was playing with "announce_submounts". I have a read-only bind mounted
mount point in shared directory. Inside guest, when I step into that
directory, I see that a mount point got created but its "rw" and not "ro".

Is that intentional. Can we send property of mount also to guest when
notifying guest about mount point.

Does it make sense? I guess then next problem will be what if mount
changes back to "rw" and how to we propagate to guest. IIUC, we will
probably need monitor it and send notifications. Or notice this chagne
on next lookup.

Thanks
Vivek


             reply	other threads:[~2021-03-03 18:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-03 18:20 Vivek Goyal [this message]
2021-03-04  9:02 ` [Virtio-fs] Query about announce_submounts and ro/rw mounts Max Reitz
2021-03-04 16:39   ` Dr. David Alan Gilbert
2021-03-04 16:58     ` Max Reitz
2021-03-04 17:23       ` Dr. David Alan Gilbert
2021-03-04 20:00   ` Vivek Goyal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210303182027.GA3793@redhat.com \
    --to=vgoyal@redhat.com \
    --cc=mreitz@redhat.com \
    --cc=virtio-fs@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.