From mboxrd@z Thu Jan 1 00:00:00 1970 From: "J. Bruce Fields" Subject: Re: [PATCH v7 0/7] SUNRPC: make rpcbind clients allocated and destroyed dynamically Date: Fri, 28 Oct 2011 10:23:28 -0400 Message-ID: <20111028142328.GE5193@fieldses.org> References: <20111028104530.24628.23631.stgit@localhost6.localdomain6> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Trond.Myklebust@netapp.com, linux-nfs@vger.kernel.org, xemul@parallels.com, neilb@suse.de, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, davem@davemloft.net, devel@openvz.org To: Stanislav Kinsbursky Return-path: Content-Disposition: inline In-Reply-To: <20111028104530.24628.23631.stgit@localhost6.localdomain6> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Fri, Oct 28, 2011 at 02:52:09PM +0300, Stanislav Kinsbursky wrote: > 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". > > v7: > 1) Implemented "goto pattern" in __svc_create(). > 2) Pathes 5 and 6 from perious patch-set were squashed to make things looks > clearer and to allow safe bisecting of the patch-set. This series looks fine to me; thanks! --b. > > v6: > 1) Fixes in rpcb_clients management. > > v4: > 1) creation and destruction on rpcbind clients now depends on service program > versions "vs_hidden" flag. > > This patch is required for further RPC layer virtualization, because rpcbind > clients have to be per network namespace. > To achive this, we have to untie network namespace from rpcbind clients sockets. > The idea of this patch set is to make rpcbind clients non-static. I.e. rpcbind > clients will be created during first RPC service creation, and destroyed when > last RPC service is stopped. > With this patch set rpcbind clients can be virtualized easely. > > The following series consists of: > > --- > > Stanislav Kinsbursky (7): > SUNRPC: introduce helpers for reference counted rpcbind clients > SUNRPC: use rpcbind reference counting helpers > SUNRPC: introduce svc helpers for prepairing rpcbind infrastructure > SUNRPC: setup rpcbind clients if service requires it > SUNRPC: cleanup service destruction > SUNRPC: remove rpcbind clients creation during service registering > SUNRPC: remove rpcbind clients destruction on module cleanup > > > fs/nfsd/nfssvc.c | 2 + > include/linux/sunrpc/clnt.h | 2 + > include/linux/sunrpc/svc.h | 1 > net/sunrpc/rpcb_clnt.c | 88 ++++++++++++++++++++++++++++--------------- > net/sunrpc/sunrpc_syms.c | 3 - > net/sunrpc/svc.c | 57 ++++++++++++++++++++++++---- > 6 files changed, 113 insertions(+), 40 deletions(-) > > -- > To unsubscribe from this list: send the line "unsubscribe linux-nfs" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html