]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - fs/nfsd/netns.h
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)
commit3ba75830ce175550ef45c6524ec62faab8f62c1b
tree1ba1eb10a0500a75b3b5f568a75b1bf68bf6d343
parentb401170f6d9cd4270e0159d9b016f4ccb06caa85
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