Whamcloud - gitweb
LU-12931 timers: correctly offset mod_timer. 88/36688/5
authorJames Simmons <jsimmons@infradead.org>
Tue, 19 Nov 2019 00:17:49 +0000 (19:17 -0500)
committerOleg Drokin <green@whamcloud.com>
Sat, 14 Dec 2019 05:56:37 +0000 (05:56 +0000)
commite150810faa5b22382b2213225478c3763195438b
treedc72667b9ec7ad11fce228a787cf1403f25b277d
parent85a12c6c8d7a6d40fc81c73f9b900475b58e3e98
LU-12931 timers: correctly offset mod_timer.

During a high level code review of the lustre time code it was
discovered that some of the mod_timer() calles was missing
adding the current jiffies value to the timeout that converted
to jiffies from seconds. Add this proper offset.

Fixes: b11be372c21d ("LU-9019 lnet: move ping an delay injection to time64_t")
Fixes: e920b3681451 ("LU-9019 ldlm: migrate the rest of the code to 64 bit time")
Change-Id: Ie4be14946032308610aff2fe72d15d4d70773da1
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/36688
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Shaun Tancheff <stancheff@cray.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/lnet/net_fault.c
lustre/ldlm/ldlm_lockd.c