Skip to content

NFSd: precursor and cleanup patch set

Stanislav Kinsbursky linux-nfs lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8nfsd: use passed cache_detail pointer expkey_parse()fs/nfsd/export.c+1 -10 replies
2/8nfsd: add link to owner cache detail to svc_export structurefs/nfsd/export.c include/linux/nfsd/export.h+6 -50 replies
3/8nfsd: use cache detail pointer from svc_export structure on cache putinclude/linux/nfsd/export.h+1 -10 replies
4/8nfsd: use exp_put() for svc_export_cache putfs/nfsd/export.c fs/nfsd/nfsfh.c+2 -22 replies
5/8nfsd: pass svc_export_cache pointer as private data to "exports" seq file opsfs/nfsd/export.c fs/nfsd/nfsctl.c+21 -80 replies
6/8nfsd: use hash table from cache detail in nfsd export seq opsfs/nfsd/export.c+3 -00 replies
7/8nfsd: pass pointer to export cache down to stack wherever possible.fs/nfsd/export.c+22 -150 replies
8/8nfsd: pass pointer to expkey cache down to stack wherever possible.fs/nfsd/export.c+16 -160 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/8] NFSd: precursor and cleanup patch set

This patch set prepares ground for making NFSd export and expkey caches allocated and registered per network namespace context. Mainly, it just replaces hard-coded pointers with dereferenced everywhere required.

The following series consists of:

---

Stanislav Kinsbursky (8):
nfsd: use passed cache_detail pointer expkey_parse()
nfsd: add link to owner cache detail to svc_export structure
nfsd: use cache detail pointer from svc_export structure on cache put
nfsd: use exp_put() for svc_export_cache put
nfsd: pass svc_export_cache pointer as private data to "exports" seq file ops
nfsd: use hash table from cache detail in nfsd export seq ops
nfsd: pass pointer to export cache down to stack wherever possible.
nfsd: pass pointer to expkey cache down to stack wherever possible.

 fs/nfsd/export.c            |  102 ++++++++++++++++++++++++-------------------
 fs/nfsd/nfsctl.c            |   11 ++++-
 fs/nfsd/nfsfh.c             |    2 -
 include/linux/nfsd/export.h |    3 +
 4 files changed, 71 insertions(+), 47 deletions(-)