]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: Refactor reply handler error handling
authorChuck Lever <chuck.lever@oracle.com>
Sat, 24 Oct 2015 21:26:54 +0000 (17:26 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 2 Nov 2015 18:45:15 +0000 (13:45 -0500)
commit5f5c29020fac23e2c5c3a3cbc27f24a5b10ae9df
tree6d4ced8219cd7ee36c6dc7553f89bfbc196dc270
parentf72555366b3e980188101663ebd2144540d61080
xprtrdma: Refactor reply handler error handling

Clean up: The error cases in rpcrdma_reply_handler() almost never
execute. Ensure the compiler places them out of the hot path.

No behavior change expected.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Reviewed-by: Devesh Sharma <devesh.sharma@avagotech.com>
Tested-By: Devesh Sharma <devesh.sharma@avagotech.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