Whamcloud - gitweb
LU-14627 lnet: Allow delayed sends
authorChris Horn <chris.horn@hpe.com>
Wed, 21 Apr 2021 19:22:46 +0000 (14:22 -0500)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 15 Jul 2021 15:19:20 +0000 (15:19 +0000)
commitb7d8554059281f4a3991a9658c853f2da91a987c
tree06fa2def617db2379d77790f6266e71fd7f3e1b7
parent0525b5ca717a9ae5757a87f9cdd64fa75d05af05
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.

Lustre-change: https://review.whamcloud.com/43416
Lustre-commit: ab14f3bc852e708100d21770c00235f95841708a

HPE-bug-id: LUS-7651
Test-Parameters: trivial
Signed-off-by: Chris Horn <chris.horn@hpe.com>
Change-Id: Icbd9ee81d2ff0162a01a4187807ea2114a42276d
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/44254
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lnet/include/lnet/lib-lnet.h
lnet/lnet/lib-move.c
lnet/lnet/net_fault.c