Whamcloud - gitweb
LU-537 o2iblnd: support aliased interface
authorLiang Zhen <liang@whamcloud.com>
Wed, 27 Jul 2011 04:47:57 +0000 (12:47 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 14 Dec 2011 20:11:35 +0000 (15:11 -0500)
commit8053e1507683f8731f97e6ae4a6fce90293fdbaf
treedd1bc2f0d67ca053a16cb5091371ba697aea27a2
parent9c600731cb3f149580015791b1cb4acfb4740984
LU-537 o2iblnd: support aliased interface

Current kiblnd_create_dev() doesn't allow to dev_get_by_name() to
return NULL (we added this for supporting failover of ib-bonding),
but this can happen for aliased interface, we can fix this by simply
remove the limitation and set kib_dev_t::ibd_can_failover to 0 for
aliased interface.

Change-Id: Idc3e6e4fd2d5056594f38dd43a0a560c3455ea05
Signed-off-by: Liang Zhen <liang@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/1148
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-by: Lai Siyao <laisiyao@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/klnds/o2iblnd/o2iblnd.c
lnet/klnds/o2iblnd/o2iblnd.h