From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Kirill A. Shutemov" Subject: Re: [PATCH v2 00/12] make rpc_pipefs be mountable multiple time Date: Thu, 30 Dec 2010 10:51:39 +0200 Message-ID: <20101230085139.GA29697@shutemov.name> References: <1293628470-28386-1-git-send-email-kas@openvz.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "Kirill A. Shutemov" , Trond Myklebust , "J. Bruce Fields" , Neil Brown , Pavel Emelyanov , linux-nfs@vger.kernel.org, "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: Rob Landley Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Wed, Dec 29, 2010 at 08:13:50PM -0600, Rob Landley wrote: > On Wed, Dec 29, 2010 at 7:14 AM, Kirill A. Shutemov wrote: > > > > Prepare nfs/sunrpc stack to use multiple instances of rpc_pipefs. > > Only for client for now. > > What would a test case for this look like? (Is there some way to tell > an nfs mount to use a specific instance of rpc_pipefs or something?) You can create a new instance of rpc_pipefs using 'newinstance' mountoption. Then you can specify which rpc_pipefs to use with 'rpcmount' mountoption of nfs mount. If none specifed, '/var/lib/nfs/rpc_pipefs' uses by default. If no rpcmount mountoption, no rpc_pipefs was found at '/var/lib/nfs/rpc_pipefs' and we are in init's mount namespace, we use init_rpc_pipefs. -- Kirill A. Shutemov