Whamcloud - gitweb
LU-11734 lnet: handle multi-md usage 94/33794/2
authorAmir Shehata <ashehata@whamcloud.com>
Wed, 5 Dec 2018 21:57:11 +0000 (13:57 -0800)
committerOleg Drokin <green@whamcloud.com>
Sat, 8 Dec 2018 05:33:54 +0000 (05:33 +0000)
commit8c249097e62713baf51aec808489a86acf46748d
tree4824b90cb2c35d43de6fab678e6a174e93926488
parent2846da79a2cc12de6e43a05e45317d48115178ed
LU-11734 lnet: handle multi-md usage

The MD can be used multiple times. The response tracker needs to have
the same lifespan as the MD. If we re-use the MD and a response
tracker has already been attached to it, then we'll update the
deadline for the response tracker. This means the deadline on the MD
is for its last user.

Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Change-Id: I681630c3d599f66c007926525708e3004b343455
Reviewed-on: https://review.whamcloud.com/33794
Tested-by: Jenkins
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Olaf Weber <olaf.weber@hpe.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/include/lnet/lib-lnet.h
lnet/lnet/lib-move.c
lnet/lnet/lib-msg.c