OSDN Git Service

nfsd: Containerise filecache laundrette
authorTrond Myklebust <trondmy@gmail.com>
Mon, 6 Jan 2020 18:18:05 +0000 (13:18 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 22 Jan 2020 21:25:40 +0000 (16:25 -0500)
commit9542e6a643fc69d528dfb3303f145719c61d3050
treeac894c5a0dc0fa6c8ba0c37bbb1e70df7cba755e
parent36ebbdb96b694dd9c6b25ad98f2bbd263d022b63
nfsd: Containerise filecache laundrette

Ensure that if the filecache laundrette gets stuck, it only affects
the knfsd instances of one container.

The notifier callbacks can be called from various contexts so avoid
using synchonous filesystem operations that might deadlock.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/filecache.c
fs/nfsd/filecache.h
fs/nfsd/nfssvc.c