xprtrdma: RPC/RDMA must invoke xprt_wake_pending_tasks() in process context
authorChuck Lever <chuck.lever@oracle.com>
Wed, 28 May 2014 14:32:17 +0000 (10:32 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 4 Jun 2014 12:56:36 +0000 (08:56 -0400)
commit254f91e2fa1f4cc18fd2eb9d5481888ffe126d5b
tree59ee9a80d0ab6a7875cf9b9e47337b36e2744d92
parent4034ba04231f554abb97ad8900a4c1af03f8e21d
xprtrdma: RPC/RDMA must invoke xprt_wake_pending_tasks() in process context

An IB provider can invoke rpcrdma_conn_func() in an IRQ context,
thus rpcrdma_conn_func() cannot be allowed to directly invoke
generic RPC functions like xprt_wake_pending_tasks().

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Tested-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/rpc_rdma.c
net/sunrpc/xprtrdma/verbs.c
net/sunrpc/xprtrdma/xprt_rdma.h