OpenVZ Forum


Home » Mailing lists » Devel » [PATCH v2] SUNRPC: check current nsproxy before set of node name on client creation
Re: [PATCH v2] SUNRPC: check current nsproxy before set of node name on client creation [message #47792 is a reply to message #47790] Mon, 10 September 2012 15:41 Go to previous messageGo to previous message
Myklebust, Trond is currently offline  Myklebust, Trond
Messages: 52
Registered: November 2011
Member
On Mon, 2012-09-10 at 19:37 +0400, Stanislav Kinsbursky wrote:
> Hi, Trond.
> So, if I understand you right, we can create rpc client (or increase usage
> counter) on NSMPROC_MON call and destroy (or decrease usage counter) on
> NSMPROC_UNMON call.
> Will this solution works?

The rpc client(s) will need to be per-net-namespace, which complicates
matters a little bit, but yes, creation at NSMPROC_MON, and destruction
at NSMPROC_UNMON should work.

--
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@netapp.com
www.netapp.com
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: kmemcg benchmarks
Next Topic: [PATCH 0/6] fuse: allocate req->pages[] dynamically
Goto Forum:
  


Current Time: Mon Jul 14 21:43:16 GMT 2025

Total time taken to generate the page: 0.03018 seconds