Whamcloud - gitweb
LU-12441 lnet: Detach rspt when md_threshold is infinite 52/35452/9
authorChris Horn <hornc@cray.com>
Thu, 11 Jul 2019 20:08:30 +0000 (15:08 -0500)
committerOleg Drokin <green@whamcloud.com>
Fri, 9 Aug 2019 04:40:33 +0000 (04:40 +0000)
commitebbf909a1c2d0f5400da2d98e1bb274a9e82e0a5
treeb0fec97fd755cb24b8a704ffa147b0d77262eab9
parent697dcf4e87f2dbebe57f3ccb9c0b0962b89cf1b4
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.

Cray-bug-id: LUS-7366
Signed-off-by: Chris Horn <hornc@cray.com>
Change-Id: I4b9499bc6327523f1e911ebc4514002511e42236
Reviewed-on: https://review.whamcloud.com/35452
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alexandr Boyko <c17825@cray.com>
Reviewed-by: Amir Shehata <ashehata@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/lnet/lib-msg.c