OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 0/4] SUNRPC: rcbind clients virtualization
[PATCH 1/4] SUNRPC: rpcbind clients internals virtualization [message #43657 is a reply to message #43653] Tue, 04 October 2011 17:01 Go to previous message
Stanislav Kinsbursky is currently offline  Stanislav Kinsbursky
Messages: 683
Registered: October 2011
Senior Member
This patch moves static rpcbind internals to sunrpc part of network namespace
context. This will allow to create rcpbind clients per network namespace.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>

---
net/sunrpc/netns.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/net/sunrpc/netns.h b/net/sunrpc/netns.h
index d013bf2..83eede3 100644
--- a/net/sunrpc/netns.h
+++ b/net/sunrpc/netns.h
@@ -9,6 +9,11 @@ struct cache_detail;
struct sunrpc_net {
struct proc_dir_entry *proc_net_rpc;
struct cache_detail *ip_map_cache;
+
+ struct rpc_clnt *rpcb_local_clnt;
+ struct rpc_clnt *rpcb_local_clnt4;
+ spinlock_t rpcb_clnt_lock;
+ unsigned int rpcb_users;
};

extern int sunrpc_net_id;
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH v5 1/8] Basic kernel memory functionality for the Memory Controller
Next Topic: Re: [PATCH 2/5] slab_id: Generic slab ID infrastructure
Goto Forum:
  


Current Time: Mon Nov 04 20:20:54 GMT 2024

Total time taken to generate the page: 0.05304 seconds