xprtrdma: Return an errno from rpcrdma_register_external()
authorChuck Lever <chuck.lever@oracle.com>
Sun, 9 Nov 2014 01:14:12 +0000 (20:14 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 25 Nov 2014 18:39:20 +0000 (13:39 -0500)
commit92b98361f119a6919061d067c6584de9ae2de9f4
tree9f6466c599b9a4134fa4dd4159236470dd96e881
parent5d01410fe4d92081f349b013a2e7a95429e4f2c9
xprtrdma: Return an errno from rpcrdma_register_external()

The RPC/RDMA send_request method and the chunk registration code
expects an errno from the registration function. This allows
the upper layers to distinguish between a recoverable failure
(for example, temporary memory exhaustion) and a hard failure
(for example, a bug in the registration logic).

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/verbs.c
This page took 0.025269 seconds and 5 git commands to generate.