Skip to content

nfsd: containerize id-to-name and name-to-id caches

Stanislav Kinsbursky linux-nfs lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4nfsd: pass network context to idmap init/exit functionsfs/nfsd/idmap.h fs/nfsd/nfs4idmap.c fs/nfsd/nfsctl.c+14 -140 replies
2/4nfsd: make id-to-name cache allocated per network namespace contextfs/nfsd/netns.h fs/nfsd/nfs4idmap.c+26 -100 replies
3/4nfsd: make name-to-id cache allocated per network namespace contextfs/nfsd/netns.h fs/nfsd/nfs4idmap.c+16 -100 replies
4/4nfsd: allocate id-to-name and name-to-id caches in per-net operations.fs/nfsd/nfsctl.c+7 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] nfsd: containerize id-to-name and name-to-id caches

This patch set depends on "nfsd: remove hard-coded dereferences to name-to-id and id-to-name caches" patch.

The following series consists of:

---

Stanislav Kinsbursky (4):
nfsd: pass network context to idmap init/exit functions
nfsd: make id-to-name cache allocated per network namespace context
nfsd: make name-to-id cache allocated per network namespace context
nfsd: allocate id-to-name and name-to-id caches in per-net operations.

 fs/nfsd/idmap.h     |    8 +++----
 fs/nfsd/netns.h     |    3 +++
 fs/nfsd/nfs4idmap.c |   59 ++++++++++++++++++++++++++++++++++-----------------
 fs/nfsd/nfsctl.c    |   14 ++++++------
 4 files changed, 53 insertions(+), 31 deletions(-)