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:
Tina Yang 2010-03-11 13:50:07 +00:00 committed by David S. Miller
parent 561c7df63e
commit 768bbedf9c

View File

@ -259,7 +259,7 @@ void rds_threads_exit(void)
int __init rds_threads_init(void)
{
rds_wq = create_singlethread_workqueue("krdsd");
rds_wq = create_workqueue("krdsd");
if (rds_wq == NULL)
return -ENOMEM;