Whamcloud - gitweb
LU-4423 lnet: use 64-bit time for selftest 52/23352/2
authorArnd Bergmann <arnd@arndb.de>
Tue, 25 Oct 2016 02:00:56 +0000 (22:00 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 1 Jan 2017 02:02:25 +0000 (02:02 +0000)
commit31aa2bcc2bf65d79fbdc551870c0999596bb2eeb
tree75dc295c63bc676008f4b599704e74b54d2811a5
parent9ea9c66d1719672bf456368324f6de08bfbec3c1
LU-4423 lnet: use 64-bit time for selftest

The lustre selftest code has multiple time stamps that are kept
as 'time_t' or 'unsigned long' and can therefore overflow on
32-bit systems.

This changes the code to use time64_t instead.

Linux-commit: d9f79e6bf02c109f117132163239bfffa6475ccb

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Change-Id: I74d704d104e7398af411e73180fac57c0b943eb7
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/23352
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Frank Zago <fzago@cray.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/selftest/brw_test.c
lnet/selftest/conrpc.c
lnet/selftest/framework.c
lnet/selftest/rpc.c
lnet/selftest/timer.c