RDMA/rtrs-clt: Print more info when an error happens
authorGioh Kim <gi-oh.kim@cloud.ionos.com>
Tue, 6 Apr 2021 12:36:37 +0000 (14:36 +0200)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 13 Apr 2021 22:51:34 +0000 (19:51 -0300)
commit2f37b01725382cd1237d32363e844d4190268b33
tree5db178a7cb6910b674c68ad6452614db2b0b3fd3
parentabdeef3b2388385e142d90f1d0359aa3b11ac5e6
RDMA/rtrs-clt: Print more info when an error happens

Client prints only error value and it is not enough for debugging.

1. When client receives an error from server: the client does not only
   print the error value but also more information of server connection.

2. When client failes to send IO: the client gets an error from RDMA
   layer. It also print more information of server connection.

Link: https://lore.kernel.org/r/20210406123639.202899-2-gi-oh.kim@ionos.com
Signed-off-by: Gioh Kim <gi-oh.kim@ionos.com>
Signed-off-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/ulp/rtrs/rtrs-clt.c