]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd4: drc containerization
authorJ. Bruce Fields <bfields@redhat.com>
Fri, 17 May 2019 13:03:38 +0000 (09:03 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 3 Jul 2019 21:52:08 +0000 (17:52 -0400)
commit3f5ad53fa7edffdcdf34243334643a064d982bc7
tree1ba1eb10a0500a75b3b5f568a75b1bf68bf6d343
parent56369eda4bc3a9713490abab5a41ab4ed705fe1d
nfsd4: drc containerization

The nfsd duplicate reply cache should not be shared between network
namespaces.

The most straightforward way to fix this is just to move every global in
the code to per-net-namespace memory, so that's what we do.

Still todo: sort out which members of nfsd_stats should be global and
which per-net-namespace.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/cache.h
fs/nfsd/netns.h
fs/nfsd/nfscache.c
fs/nfsd/nfsctl.c