From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 14 Aug 2019 13:57:02 +0100 From: "Dr. David Alan Gilbert" Message-ID: <20190814125702.GH2920@work-vm> References: <20190814022751.116741-1-tao.peng@linux.alibaba.com> <20190814123618.GA23970@stefanha-x1.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190814123618.GA23970@stefanha-x1.localdomain> Subject: Re: [Virtio-fs] [PATCH] virtiofsd: simplify setup_remount_slave List-Id: Development discussions about virtio-fs List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: virtio-fs@redhat.com, Peng Tao * Stefan Hajnoczi (stefanha@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 > > --- > > contrib/virtiofsd/passthrough_ll.c | 53 ++---------------------------- > > 1 file changed, 3 insertions(+), 50 deletions(-) > > Let's try it! > > Reviewed-by: Stefan Hajnoczi OK thanks, merged in my local world > _______________________________________________ > Virtio-fs mailing list > Virtio-fs@redhat.com > https://www.redhat.com/mailman/listinfo/virtio-fs -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK