[Virtio-fs] [PATCH] virtiofsd: simplify setup_remount_slave

Dr. David Alan Gilbert dgilbert at redhat.com
Wed Aug 14 12:57:02 UTC 2019


* Stefan Hajnoczi (stefanha at redhat.com) wrote:
> On Wed, Aug 14, 2019 at 10:27:51AM +0800, Peng Tao wrote:
> > We can just use MS_REC to propagate MS_SLAVE. This would also allow us
> > to close a race window between reading proc mountinfo and calling
> > mount(MS_SLAVE) for each entry, vs. others umounting the mount point in
> > parallel.
> > 
> > Signed-off-by: Peng Tao <tao.peng at linux.alibaba.com>
> > ---
> >  contrib/virtiofsd/passthrough_ll.c | 53 ++----------------------------
> >  1 file changed, 3 insertions(+), 50 deletions(-)
> 
> Let's try it!
> 
> Reviewed-by: Stefan Hajnoczi <stefanha at redhat.com>

OK thanks, merged in my local world


> _______________________________________________
> Virtio-fs mailing list
> Virtio-fs at redhat.com
> https://www.redhat.com/mailman/listinfo/virtio-fs

--
Dr. David Alan Gilbert / dgilbert at redhat.com / Manchester, UK




More information about the Virtio-fs mailing list