Whamcloud - gitweb
LU-14627 lnet: Allow delayed sends 59/43959/2
authorChris Horn <chris.horn@hpe.com>
Wed, 21 Apr 2021 19:22:46 +0000 (14:22 -0500)
committerOleg Drokin <green@whamcloud.com>
Sun, 27 Jun 2021 10:56:30 +0000 (10:56 +0000)
commitfea5e60b97adef090e8475e6f03101c0c8521203
treef868b7e53bf1f012a581c13fa6073580bc494e24
parentcaa11626afaea06e110d58c2f9c5125ad5e61025
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>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/43959
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