]> git.baikalelectronics.ru Git - kernel.git/commit
RDS: RDMA: return appropriate error on rdma map failures
authorSantosh Shilimkar <santosh.shilimkar@oracle.com>
Tue, 5 Jul 2016 00:04:37 +0000 (17:04 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 2 Jan 2017 22:02:46 +0000 (14:02 -0800)
commit94c00fff6c86ebb58696181d6bf1014b28b2c37b
tree14507c4da98fa2c0bc314bf50624f84720670bef
parent6c31703df9db01a77b548c7bf268a968961775c1
RDS: RDMA: return appropriate error on rdma map failures

The first message to a remote node should prompt a new
connection even if it is RDMA operation. For RDMA operation
the MR mapping can fail because connections is not yet up.

Since the connection establishment is asynchronous,
we make sure the map failure because of unavailable
connection reach to the user by appropriate error code.
Before returning to the user, lets trigger the connection
so that its ready for the next retry.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
net/rds/send.c