Whamcloud - gitweb
LU-12441 lnet: Detach rspt when md_threshold is infinite 34/36634/3
authorChris Horn <hornc@cray.com>
Thu, 11 Jul 2019 20:08:30 +0000 (15:08 -0500)
committerOleg Drokin <green@whamcloud.com>
Thu, 5 Dec 2019 14:57:05 +0000 (14:57 +0000)
commitc095fbda55ca632cff2696550f22a13a19ee4514
treef75f3efbe9ce1d495719e32651e1a43432952fbf
parente365cf2b001af7ca0883d293b7c148bcaa8e1c61
LU-12441 lnet: Detach rspt when md_threshold is infinite

MDs for pings use the infinite threshold on MD operations.
As such they aren't normally unlinkable as determined by
lnet_md_unlinkable(). We can cover this case by checking whether the
refcount is zero and threshold is LNET_MD_THRESH_INF.

Signed-off-by: Chris Horn <hornc@cray.com>
Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Change-Id: Ib51f84d85005dd2d13dadca059a1d6c42ff3bf59
Reviewed-on: https://review.whamcloud.com/36634
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/lnet/lib-msg.c