Re: [PATCH] lockd: create NSM handles per net namespace

2015-10-02 Thread Andrey Ryabinin
On 10/01/2015 09:26 PM, J. Bruce Fields wrote: > On Thu, Oct 01, 2015 at 07:36:19PM +0300, Andrey Ryabinin wrote: >> On 09/29/2015 09:47 PM, J. Bruce Fields wrote: >>> On Wed, Sep 23, 2015 at 03:49:29PM +0300, Andrey Ryabinin wrote: Commit cb7323fffa85 ("lockd: create and use per-net NSM

Re: [PATCH] lockd: create NSM handles per net namespace

2015-10-01 Thread J. Bruce Fields
On Thu, Oct 01, 2015 at 07:36:19PM +0300, Andrey Ryabinin wrote: > On 09/29/2015 09:47 PM, J. Bruce Fields wrote: > > On Wed, Sep 23, 2015 at 03:49:29PM +0300, Andrey Ryabinin wrote: > >> Commit cb7323fffa85 ("lockd: create and use per-net NSM > >> RPC clients on MON/UNMON requests") introduced pe

Re: [PATCH] lockd: create NSM handles per net namespace

2015-10-01 Thread Andrey Ryabinin
On 09/29/2015 09:47 PM, J. Bruce Fields wrote: > On Wed, Sep 23, 2015 at 03:49:29PM +0300, Andrey Ryabinin wrote: >> Commit cb7323fffa85 ("lockd: create and use per-net NSM >> RPC clients on MON/UNMON requests") introduced per-net >> NSM RPC clients. Unfortunately this doesn't make any sense >> wi

Re: [PATCH] lockd: create NSM handles per net namespace

2015-09-29 Thread J. Bruce Fields
On Wed, Sep 23, 2015 at 03:49:29PM +0300, Andrey Ryabinin wrote: > Commit cb7323fffa85 ("lockd: create and use per-net NSM > RPC clients on MON/UNMON requests") introduced per-net > NSM RPC clients. Unfortunately this doesn't make any sense > without per-net nsm_handle. Makes sense to me. Is any

[PATCH] lockd: create NSM handles per net namespace

2015-09-23 Thread Andrey Ryabinin
Commit cb7323fffa85 ("lockd: create and use per-net NSM RPC clients on MON/UNMON requests") introduced per-net NSM RPC clients. Unfortunately this doesn't make any sense without per-net nsm_handle. E.g. the following scenario could happen Two hosts (X and Y) in different namespaces (A and B) shar