Commit d6a1ed08 authored by Trond Myklebust's avatar Trond Myklebust

SUNRPC: Reduce asynchronous RPC task stack usage

We should just farm out asynchronous RPC tasks immediately to rpciod...
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent a17c2153
...@@ -699,7 +699,8 @@ static void __rpc_execute(struct rpc_task *task) ...@@ -699,7 +699,8 @@ static void __rpc_execute(struct rpc_task *task)
void rpc_execute(struct rpc_task *task) void rpc_execute(struct rpc_task *task)
{ {
rpc_set_active(task); rpc_set_active(task);
rpc_set_running(task); rpc_make_runnable(task);
if (!RPC_IS_ASYNC(task))
__rpc_execute(task); __rpc_execute(task);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment