mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 07:33:19 +02:00
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>
This commit is contained in:
parent
f3734cc407
commit
ce7df05508
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user