projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3734cc
)
NFSD: Make the file_delayed_close workqueue UNBOUND
author
Chuck Lever
<chuck.lever@oracle.com>
Sun, 22 Oct 2023 22:50:10 +0000
(18:50 -0400)
committer
Chuck Lever
<chuck.lever@oracle.com>
Sun, 7 Jan 2024 22:54:25 +0000
(17:54 -0500)
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>
fs/nfsd/filecache.c
patch
|
blob
|
history
diff --git
a/fs/nfsd/filecache.c
b/fs/nfsd/filecache.c
index ef063f93fde9d831e825634f6a4b80976d671747..66dd5059f1bb879b16c400384a4e1c22da5eff1c 100644
(file)
--- 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;