RDS: Enable per-cpu workqueue threads
Create per-cpu workqueue threads instead of a single krdsd thread. This is a step towards better scalability. Signed-off-by: Andy Grover <andy.grover@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
561c7df63e
commit
768bbedf9c
@@ -259,7 +259,7 @@ void rds_threads_exit(void)
|
|||||||
|
|
||||||
int __init rds_threads_init(void)
|
int __init rds_threads_init(void)
|
||||||
{
|
{
|
||||||
rds_wq = create_singlethread_workqueue("krdsd");
|
rds_wq = create_workqueue("krdsd");
|
||||||
if (rds_wq == NULL)
|
if (rds_wq == NULL)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user