[PATCH v2 0/5] SUNRPC: make caches network namespace aware

Stanislav Kinsbursky
2012-01-19T17:42:31Z

v2:
1) Fixed silly usage of unix gid cache template instead on per-net cache
instance.
2) Postfix "_template" was added to all caches templates to make sure, that no
misaunderstanding or direct usage of template object will happen in future.

One more step towards to "NFS in container".
With this patch set caches are allocated per network namespace.

The following series consists of:

---

Stanislav Kinsbursky (5):
SUNRPC: cache creation and destruction routines introduced
SUNRPC: create unix gid cache per network namespace
SUNRPC: create GSS auth cache per network namespace
SUNRPC: ip map cache per network namespace cleanup
SUNRPC: generic cache register routines removed

include/linux/sunrpc/cache.h | 6 +
include/linux/sunrpc/svcauth_gss.h | 2
net/sunrpc/auth_gss/auth_gss.c | 21 +++++
net/sunrpc/auth_gss/svcauth_gss.c | 165 +++++++++++++++++++++++++-----------
net/sunrpc/cache.c | 34 +++++--
net/sunrpc/netns.h | 3 +
net/sunrpc/sunrpc_syms.c | 15 ++-
net/sunrpc/svcauth_unix.c | 126 +++++++++++++++------------
8 files changed, 252 insertions(+), 120 deletions(-)

--
Signature