diff options
author | 2022-04-22 15:03:20 +0300 | |
---|---|---|
committer | 2022-04-25 14:37:31 +0200 | |
commit | b8962a9d8cc2d8c93362e2f684091c79f702f6f3 (patch) | |
tree | 8eb1745ec6e28b8f540dccc63cbb03097bbf2053 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | audit: use fsnotify group lock helpers (diff) | |
download | linux-dev-b8962a9d8cc2d8c93362e2f684091c79f702f6f3.tar.xz linux-dev-b8962a9d8cc2d8c93362e2f684091c79f702f6f3.zip |
nfsd: use fsnotify group lock helpers
Before commit 9542e6a643fc6 ("nfsd: Containerise filecache laundrette")
nfsd would close open files in direct reclaim context and that could
cause a deadlock when fsnotify mark allocation went into direct reclaim
and nfsd shrinker tried to free existing fsnotify marks.
To avoid issues like this in future code, set the FSNOTIFY_GROUP_NOFS
flag on nfsd fsnotify group to prevent going into direct reclaim from
fsnotify_add_inode_mark().
Link: https://lore.kernel.org/r/20220422120327.3459282-10-amir73il@gmail.com
Suggested-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20220321112310.vpr7oxro2xkz5llh@quack3.lan/
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions