]> 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)
commit6644bd2dd49f6ca8c0257c3f7b02c12e8bb57f02
treeac894c5a0dc0fa6c8ba0c37bbb1e70df7cba755e
parent919e5564d628a7caa9e355d4dae162b8bd372ba4
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