Whamcloud - gitweb
LU-9120 lnet: add retry count 69/32769/15
authorAmir Shehata <amir.shehata@intel.com>
Tue, 26 Jun 2018 02:16:46 +0000 (19:16 -0700)
committerAmir Shehata <ashehata@whamcloud.com>
Fri, 17 Aug 2018 20:11:04 +0000 (20:11 +0000)
commit20e23980eae2341c04688b6409442673516cb2c0
tree9649cbcee3cda0e2c49b9d2f172b752041ab27a6
parent76fad19c2deaa72b5b70eff4bf9d84e20a42a74e
LU-9120 lnet: add retry count

Added a module parameter to define the number of retries on a
message. It defaults to 0, which means no retries will be attempted.
Each message will keep track of the number of times it has been
retransmitted. When queuing it on the resend queue, the retry count
will be checked and if it's exceeded, then the message will be
finalized.

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