diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2023-10-23 00:50:10 +0200 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2024-01-07 23:54:25 +0100 |
commit | ce7df05508c30de140c1dfd9a32a8c03c5671ecc (patch) | |
tree | 811ca4533580aceb2b4940d689f38e74b3504fc2 /fs/nfsd | |
parent | NFSD: use read_seqbegin() rather than read_seqbegin_or_lock() (diff) | |
download | linux-ce7df05508c30de140c1dfd9a32a8c03c5671ecc.tar.xz linux-ce7df05508c30de140c1dfd9a32a8c03c5671ecc.zip |
NFSD: Make the file_delayed_close workqueue UNBOUND
workqueue: nfsd_file_delayed_close [nfsd] hogged CPU for >13333us 8
times, consider switching to WQ_UNBOUND
There's no harm in closing a cached file descriptor on another core.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd')
-rw-r--r-- | fs/nfsd/filecache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/filecache.c b/fs/nfsd/filecache.c index ef063f93fde9..66dd5059f1bb 100644 --- a/fs/nfsd/filecache.c +++ b/fs/nfsd/filecache.c @@ -717,7 +717,7 @@ nfsd_file_cache_init(void) return ret; ret = -ENOMEM; - nfsd_filecache_wq = alloc_workqueue("nfsd_filecache", 0, 0); + nfsd_filecache_wq = alloc_workqueue("nfsd_filecache", WQ_UNBOUND, 0); if (!nfsd_filecache_wq) goto out; |