Whamcloud - gitweb
LU-14627 lnet: Allow delayed sends 16/43416/3
authorChris Horn <chris.horn@hpe.com>
Wed, 21 Apr 2021 19:22:46 +0000 (14:22 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 5 May 2021 02:49:05 +0000 (02:49 +0000)
commitab14f3bc852e708100d21770c00235f95841708a
tree0aeb2172637db58cc8e5e27873578a1fb8e387d2
parent0b7ddf32e336b06d459880faf9831db43ffae9cf
LU-14627 lnet: Allow delayed sends

The net_delay_add has some code related to delaying sends, but it
isn't fully implemented. Modify lnet_post_send_locked() to check
whether the message being sent matches a rule and should be delayed.

Fix some bugs with how the delay timers were set and checked.

HPE-bug-id: LUS-7651
Test-Parameters: trivial
Signed-off-by: Chris Horn <chris.horn@hpe.com>
Change-Id: Icbd9ee81d2ff0162a01a4187807ea2114a42276d
Reviewed-on: https://review.whamcloud.com/43416
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: jenkins <devops@whamcloud.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/net_fault.c