Skip to content

NFS: create DNS resolver cache per network namespace

Stanislav Kinsbursky linux-nfs lkml netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6SUNRPC: split cache creation and PipeFS registrationfs/nfs/cache_lib.c include/linux/sunrpc/cache.h net/sunrpc/cache.c+10 -70 replies
2/6NFS: split cache creation and PipeFS registrationfs/nfs/cache_lib.c fs/nfs/cache_lib.h fs/nfs/dns_resolve.c+21 -30 replies
3/6NFS: handle NFS caches dentries by network namespace aware routinesfs/nfs/cache_lib.c fs/nfs/cache_lib.h fs/nfs/dns_resolve.c+39 -130 replies
4/6NFS: DNS resolver cache per network namespace context introducedfs/nfs/dns_resolve.c fs/nfs/dns_resolve.h fs/nfs/inode.c +2 more+123 -410 replies
5/6NFS: DNS resolver PipeFS notifier introducedfs/nfs/cache_lib.c fs/nfs/cache_lib.h fs/nfs/dns_resolve.c+43 -30 replies
6/6NFS: remove RPC PipeFS mount point references from NFS cache routinesfs/nfs/cache_lib.c+4 -150 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/6] NFS: create DNS resolver cache per network namespace

This patch set was created in context of clone of git
branch: git://git.linux-nfs.org/projects/trondmy/nfs-2.6.git.
tag: v3.1

This patch set depends on previous patch sets titled:
1) "SUNRPC: initial part of making pipefs work in net ns"
2) "SUNPRC: cleanup PipeFS for network-namespace-aware users"

Actually, this patch set consists of two tightly connected parts:
1) DNS resolver cache per network namespcae implementation itself
2) DNS resolver cache dentries creation by PipeFS network namespace aware routines.

Thus this patch set is the second part of "PipeFS per network namespace" story.

The following series consists of:

---

Stanislav Kinsbursky (6):
SUNRPC: split cache creation and PipeFS registration
NFS: split cache creation and PipeFS registration
NFS: handle NFS caches dentries by network namespace aware routines
NFS: DNS resolver cache per network namespace context introduced
NFS: DNS resolver PipeFS notifier introduced
NFS: remove RPC PipeFS mount point references from NFS cache routines

 fs/nfs/cache_lib.c           |   61 ++++++++++++++------
 fs/nfs/cache_lib.h           |   10 +++
 fs/nfs/dns_resolve.c         |  125 ++++++++++++++++++++++++++++++++++--------
 fs/nfs/dns_resolve.h         |   14 ++++-
 fs/nfs/inode.c               |   33 ++++++++++-
 fs/nfs/netns.h               |   13 ++++
 fs/nfs/nfs4namespace.c       |    8 ++-
 include/linux/sunrpc/cache.h |    2 +
 net/sunrpc/cache.c           |   12 ++--
 9 files changed, 218 insertions(+), 60 deletions(-)
 create mode 100644 fs/nfs/netns.h
Signature · 1 line
Signature