Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1241818

Re: [PATCH v2] lockd: get rid of reference-counted NSM RPC clients

From Trond Myklebust <trond.myklebust@primarydata.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] lockd: get rid of reference-counted NSM RPC clients
Date 2015-10-07 23:50 +0200
Message-ID <qh4KZ-pX-7@gated-at.bofh.it> (permalink)
References <qgV50-3kz-21@gated-at.bofh.it> <qgVom-3Hn-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Oct 7, 2015 at 7:39 AM, Andrey Ryabinin <aryabinin@virtuozzo.com> wrote:
> Currently we have reference-counted per-net NSM RPC client
> which created on the first monitor request and destroyed
> after the last unmonitor request. It's needed because
> RPC client need to know 'utsname()->nodename', but utsname()
> might be NULL when nsm_unmonitor() called.
>

The other reason for keeping the rpc_client around is to avoid a need
to do portmapper/rpcbind lookups in a net namespace that may be in the
process of shutting down. This patchset will reintroduce that
requirement.

Cheers
  Trond
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2] lockd: get rid of reference-counted NSM RPC clients Andrey Ryabinin <aryabinin@virtuozzo.com> - 2015-10-07 13:50 +0200
  Re: [PATCH v2] lockd: get rid of reference-counted NSM RPC clients "J. Bruce Fields" <bfields@fieldses.org> - 2015-10-07 22:50 +0200
  Re: [PATCH v2] lockd: get rid of reference-counted NSM RPC clients Trond Myklebust <trond.myklebust@primarydata.com> - 2015-10-07 23:50 +0200
    Re: [PATCH v2] lockd: get rid of reference-counted NSM RPC clients "J. Bruce Fields" <bfields@fieldses.org> - 2015-10-08 14:20 +0200

csiph-web