Whamcloud - gitweb
LU-9019 selftest: remove remaining cfs_time wrappers 41/31041/3
authorJames Simmons <uja.ornl@yahoo.com>
Thu, 22 Feb 2018 18:00:25 +0000 (13:00 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 3 Mar 2018 04:28:42 +0000 (04:28 +0000)
commitfeedd8f9c9402ae4de9940b0e606d1f636af262e
treec673b64ab7253ad57a042797b1a914fe91c4bf71
parent1e7fc14bbf48f7e89876cbaa609972981e343944
LU-9019 selftest: remove remaining cfs_time wrappers

Remove remaining libcfs time wrappers from lnet selftest. Migrate
crp_stamp to nanoseconds and both timestamps nd_stamp, sn_start to
ktime. The move away from jiffies which can vary on platforms to
something that is the consistent on every node. This will ensure
that the reported results to the user will always be correct.

Test-Parameters: trivial testlist=lnet-selftest

Change-Id: Id8d1b195f690c69635de60dd9b501f6d97f90f4d
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/31041
Tested-by: Jenkins
Reviewed-by: Doug Oucharek <dougso@me.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/include/uapi/linux/lnet/lnetst.h
lnet/selftest/conrpc.c
lnet/selftest/conrpc.h
lnet/selftest/console.c
lnet/selftest/console.h
lnet/selftest/framework.c
lnet/selftest/selftest.h
lnet/selftest/timer.c