]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4e9f0d93aced644167059eda6b167f2b3adedfe8
treeac894c5a0dc0fa6c8ba0c37bbb1e70df7cba755e
parentcc71cb598d8c46ff0c85ecbb238472f50a57f411
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