Whamcloud - gitweb
LU-3322 lnet: make connect parameters persistent 74/17074/5
authorAmir Shehata <amir.shehata@intel.com>
Fri, 6 Nov 2015 20:41:01 +0000 (12:41 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 24 Nov 2015 14:25:02 +0000 (14:25 +0000)
commit4c689a573fafcfa1ca7474a275f958e00b1deddc
tree79cb442c2f901c442d99d6c7d658569c638e9522
parent01a6f01a4d26831d055552a113ff0fac9547f0aa
LU-3322 lnet: make connect parameters persistent

Store map-on-demand and peertx credits in the peer, since the peer
is persistent. Also made sure that when assigning the parameters
received on the connection to the peer structure through create,
that if another peer is added before grabbing the lock we assign
these parameters to it as well.

Signed-off-by: Amir Shehata <amir.shehata@intel.com>
Change-Id: Ie68f1ba1349d15b0a31eff9a2ca454df8e408ea9
Reviewed-on: http://review.whamcloud.com/17074
Tested-by: Jenkins
Reviewed-by: Doug Oucharek <doug.s.oucharek@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/klnds/o2iblnd/o2iblnd.c
lnet/klnds/o2iblnd/o2iblnd.h
lnet/klnds/o2iblnd/o2iblnd_cb.c