IB/srp: Make login failures easier to debug
authorBart Van Assche <bart.vanassche@sandisk.com>
Mon, 21 Nov 2016 21:57:24 +0000 (13:57 -0800)
committerDoug Ledford <dledford@redhat.com>
Wed, 14 Dec 2016 18:31:37 +0000 (13:31 -0500)
commit3787d9908c4e05af0322613fe7f8c617c1ddb1d5
treeae29c6327a0dcc80a016d09d58d71a018b33f544
parent042dd765bdf401c0ccdeb16717b0c2a0b1405f18
IB/srp: Make login failures easier to debug

If login fails because memory region allocation failed it can be
hard to figure out what happened. Make it easier to figure out
why login failed by logging a message if ib_alloc_mr() fails.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srp/ib_srp.c