Whamcloud - gitweb
LU-9120 lnet: timeout delayed REPLYs and ACKs 71/32771/15
authorAmir Shehata <amir.shehata@intel.com>
Fri, 29 Jun 2018 01:02:42 +0000 (18:02 -0700)
committerAmir Shehata <ashehata@whamcloud.com>
Fri, 17 Aug 2018 20:12:23 +0000 (20:12 +0000)
commita57fa1176e74ea549e0d63cd8753b97561dd8bbf
tree48e07928ae0ab169faeece60a9402e3009995887
parent5169827bf79071d47d2b6d76e110fa412ff1fb38
LU-9120 lnet: timeout delayed REPLYs and ACKs

When a GET or a PUT which require an ACK are sent, add a response
tracker block on a percpt queue. When the REPLY/ACK are received
then remove the block from the percpt queue. The monitor thread
will wake up periodically to check if any of the blocks have
expired and if so, it will send a timeout event to the ULP and
flag the MD as stale, then unlink.

Test-Parameters: forbuildonly
Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Change-Id: Ia219fca5a578d625819b9f9c8ee2b3aa050dce80
Reviewed-on: https://review.whamcloud.com/32771
Tested-by: Jenkins
Reviewed-by: Olaf Weber <olaf.weber@hpe.com>
Reviewed-by: Sonia Sharma <sharmaso@whamcloud.com>
lnet/include/lnet/lib-lnet.h
lnet/include/lnet/lib-types.h
lnet/lnet/lib-move.c
lnet/lnet/lib-msg.c