]> 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)
commitc9f132fad3356ee25515db73a60caf4aa29e0d3b
tree14507c4da98fa2c0bc314bf50624f84720670bef
parent8fa13a8d77641295b1b106ebdee978a9560cee31
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