All of lore.kernel.org
 help / color / mirror / Atom feed
* 3.4.z nfsd backports
@ 2012-06-18 20:07 J. Bruce Fields
  2012-06-18 20:07 ` [PATCH 1/3] SUNRPC: new svc_bind() routine introduced J. Bruce Fields
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: J. Bruce Fields @ 2012-06-18 20:07 UTC (permalink / raw)
  To: stable; +Cc: linux-nfs

These three patches are all upstream, but required some conflict
resolution to backport, so I'm sending backported versions.

--b.

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [PATCH 0/3] SUNRPC: separate per-net data creation from service creation
@ 2012-04-25 13:37 Stanislav Kinsbursky
  2012-04-25 13:37 ` [PATCH 1/3] SUNRPC: new svc_bind() routine introduced Stanislav Kinsbursky
  0 siblings, 1 reply; 13+ messages in thread
From: Stanislav Kinsbursky @ 2012-04-25 13:37 UTC (permalink / raw)
  To: bfields, Trond.Myklebust; +Cc: linux-nfs, linux-kernel, devel

This is a cleanup patch set.
It will be followed my LockD start/stop cleanup patch set and NFS callback
service containerization patch set (yes, I forgot to implement it).

Today per-net data is created with service, and then is service is starting in
other network namespace. And thus it's destroyed with service too. Moreover,
network context for destroying of per-net data is taken from current process.
This is correct, but code looks ugly.
This patch set separates per-net data allocation from service allocation and
destruction.
IOW, per-net data have to be destroyed by service users - not service itself.

BTW, NFSd code become uglier with this patch set. Sorry.
But I assume, that these new ugly parts will be replaced later by NFSd service
containerization code.

The following series consists of:

---

Stanislav Kinsbursky (3):
      SUNRPC: new svc_bind() routine introduced
      SUNRPC: check rpcbind clients usage counter before decrement
      SUNRPC: move per-net operations from svc_destroy()


 fs/lockd/svc.c             |   30 +++++++++++++++++++-----------
 fs/nfs/callback.c          |   11 +++++++++++
 fs/nfsd/nfsctl.c           |    4 ++++
 fs/nfsd/nfssvc.c           |   16 ++++++++++++++++
 include/linux/sunrpc/svc.h |    1 +
 net/sunrpc/rpcb_clnt.c     |   12 +++++++-----
 net/sunrpc/svc.c           |   23 ++++++++++-------------
 7 files changed, 68 insertions(+), 29 deletions(-)


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-06-25 20:44 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-18 20:07 3.4.z nfsd backports J. Bruce Fields
2012-06-18 20:07 ` [PATCH 1/3] SUNRPC: new svc_bind() routine introduced J. Bruce Fields
2012-06-20 16:34   ` Greg KH
2012-06-20 18:09     ` J. Bruce Fields
2012-06-20 18:18       ` Greg KH
2012-06-25 20:33         ` J. Bruce Fields
2012-06-25 20:44           ` J. Bruce Fields
2012-06-18 20:07 ` [PATCH 2/3] SUNRPC: move per-net operations from svc_destroy() J. Bruce Fields
2012-06-18 20:07 ` [PATCH 3/3] NFS: hard-code init_net for NFS callback transports J. Bruce Fields
2012-06-20 13:27   ` [PATCH 4/3] lockd: hard-code init_net in lockd case as well J. Bruce Fields
2012-06-20 14:54     ` Greg KH
2012-06-20 16:35 ` 3.4.z nfsd backports Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2012-04-25 13:37 [PATCH 0/3] SUNRPC: separate per-net data creation from service creation Stanislav Kinsbursky
2012-04-25 13:37 ` [PATCH 1/3] SUNRPC: new svc_bind() routine introduced Stanislav Kinsbursky

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.