Return-Path: linux-nfs-owner@vger.kernel.org Received: from mail-ie0-f178.google.com ([209.85.223.178]:39668 "EHLO mail-ie0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752355Ab3LBQAw convert rfc822-to-8bit (ORCPT ); Mon, 2 Dec 2013 11:00:52 -0500 Received: by mail-ie0-f178.google.com with SMTP id lx4so20785301iec.23 for ; Mon, 02 Dec 2013 08:00:52 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1812\)) Subject: Re: [PATCH 00/11] [RFC] repair net namespace damage to rpc_pipefs From: Trond Myklebust In-Reply-To: <20131202153435.GA2804@infradead.org> Date: Mon, 2 Dec 2013 11:00:50 -0500 Cc: Viro Alexander , Linux NFS Mailing List , Devel FS Linux , Torvalds Linus , Eric Biederman Message-Id: References: <20131201131441.790963326@bombadil.infradead.org> <20131201181329.GC10323@ZenIV.linux.org.uk> <20131202081233.GA6953@infradead.org> <3C65EB4C-6592-44F8-B08D-E5A9EFD6C8C6@primarydata.com> <20131202153435.GA2804@infradead.org> To: Christoph Hellwig Sender: linux-nfs-owner@vger.kernel.org List-ID: On Dec 2, 2013, at 10:34, Christoph Hellwig wrote: > On Mon, Dec 02, 2013 at 08:44:25AM -0500, Trond Myklebust wrote: >> The lifetime of the kernel mount only needs to match that of the rpc_client, since each rpc_client is associated to a single net namespace, and each net namespace is in a 1-1 relationship with an rpc_pipefs super block. > > Except for the non-rpc_client users of rpc_pipefs? There is the idmapper pipe which is created as part of setting up a NFSv4 mount: that could either call rpc_get_mount(), or just rely on the fact that the nfs_client has an rpc_client. Ditto for the DNS resolver pipe. Any more? Cheers Trond