Whamcloud - gitweb
LU-1799 o2iblnd: debug patch for o2iblnd
authorLiang Zhen <liang@whamcloud.com>
Wed, 29 Aug 2012 13:24:26 +0000 (21:24 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 13 Sep 2012 13:59:33 +0000 (09:59 -0400)
commit130a18bce634d0cfbb47fa8d1d6f588dcb5a8fbe
treecc617ac7e84b7f3ad6dfcfa7c981b9ec8a68b7ea
parentcd365ec0f05621a323be28dd198551b1f59520e7
LU-1799 o2iblnd: debug patch for o2iblnd

IBM reported kernel panic on their BGQ IO node when loading the
ptlrpc module with an o2ib network. The IB interface had an IPv4
and IPv6 address. Removing the IPv6 address avoided the crash.

I suspect rdma_bind_addr can't associate any RDMA device in this
case, this patch will check if there's attached IB device on cmid
even returned value is ZERO, it will also output more information.

Test-Parameters: nettypes=o2ib
Signed-off-by: Liang Zhen <liang@whamcloud.com>
Change-Id: Id44110fcf56b199b1504ab4e6b0157d87bc2d270
Reviewed-on: http://review.whamcloud.com/3815
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Isaac Huang <he.huang@intel.com>
Reviewed-by: Doug Oucharek <doug.s.oucharek@intel.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/klnds/o2iblnd/o2iblnd.c