From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stanislav Kinsbursky Subject: Re: [PATCH v3 0/3] SUNRPC: rcbind clients virtualization Date: Fri, 28 Oct 2011 13:24:45 +0400 Message-ID: <4EAA74DD.3070708@parallels.com> References: <20111027180824.20459.23219.stgit@localhost6.localdomain6> <20111027202514.GA31669@fieldses.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: "Trond.Myklebust@netapp.com" , "linux-nfs@vger.kernel.org" , Pavel Emelianov , "neilb@suse.de" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "davem@davemloft.net" , "devel@openvz.org" To: "J. Bruce Fields" Return-path: In-Reply-To: <20111027202514.GA31669@fieldses.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org 28.10.2011 00:25, J. Bruce Fields =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > On Thu, Oct 27, 2011 at 10:10:43PM +0300, Stanislav Kinsbursky wrote: >> v3: >> 1) First two patches from previous version were squashed. >> >> This patch-set was created in context of clone of git branch: >> git://git.linux-nfs.org/projects/trondmy/nfs-2.6.git >> and rebased on tag "v3.1". >> >> This patch-set virtualizes rpcbind clients per network namespace con= text. IOW, >> each network namespace will have its own pair of rpcbind clients (if= they would >> be created by request). >> >> Note: >> 1) this patch-set depends on "SUNRPC: make rpcbind clients allocated= and >> destroyed dynamically" patch-set which has been send earlier. >> 2) init_net pointer is still used instead of current->nsproxy->net_n= s, >> because I'm not sure yet about how to virtualize services. I.e. NFS = callback >> services will be per netns. NFSd service will be per netns too from = my pow. But >> Lockd can be per netns or one for all. > > I'm not sure what you mean by that; could you explain? > This patch-set was created before you've sent your NFSd plan and we dis= acussed=20 Lockd per netns. So, this sentence: "NFSd service will be per netns too from my pow" is = obsolete.=20 And Lockd will be one for all. Or you are asking about something else? > --b. > >> And also we have NFSd file system, which >> is not virtualized yet. >> >> The following series consists of: >> >> --- >> >> Stanislav Kinsbursky (3): >> SUNRPC: move rpcbind internals to sunrpc part of network name= space context >> SUNRPC: optimize net_ns dereferencing in rpcbind creation cal= ls >> SUNRPC: optimize net_ns dereferencing in rpcbind registering = calls >> >> >> net/sunrpc/netns.h | 5 ++ >> net/sunrpc/rpcb_clnt.c | 103 ++++++++++++++++++++++++++----------= ------------ >> 2 files changed, 61 insertions(+), 47 deletions(-) >> >> -- >> Signature --=20 Best regards, Stanislav Kinsbursky