Whamcloud - gitweb
LU-4423 mdc: use 64-bit timestamps for mdc 05/25405/2
authorArnd Bergmann <arnd@arndb.de>
Sun, 12 Feb 2017 17:18:25 +0000 (12:18 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 18 Feb 2017 23:51:19 +0000 (23:51 +0000)
commit540fcd21849788d02ddef89ecdf1492e6eff23e2
tree809527610d2eb58982c21c8b32dccbe34fe4b77c
parent19f057cc120cb59fde06cfe18b2472ec9962eddd
LU-4423 mdc: use 64-bit timestamps for mdc

These three are timestamps that are sent over the wire in mdc_lib
and the obd logging 64-bit values, but are generated using the 32-bit
get_seconds() function, which will eventually overflow.

Changing them to use 64-bit ktime_get_real_seconds() solves the problem.

Linux-commit: 14e3f92a4c46eedfe745b0dec42a4dcb1b16a989

Change-Id: I2063ae51a8335cd6887f800f0f30e8d90cfe7d2b
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
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/25405
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lustre/llite/llite_lib.c
lustre/mdc/mdc_request.c
lustre/obdclass/llog.c