]> 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)
commit6e14cdb51cea8a7d155de122b1189b63bdb25135
tree1ba1eb10a0500a75b3b5f568a75b1bf68bf6d343
parent34c9f011459167e37d77bb892702fe8f9d668ef3
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