Whamcloud - gitweb
LU-9019 obdclass: migrate jobstats to 64 bit time 11/27911/3
authorJames Simmons <uja.ornl@yahoo.com>
Sat, 8 Jul 2017 21:23:13 +0000 (17:23 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 29 Jul 2017 00:02:32 +0000 (00:02 +0000)
commit5e36bc4fe3b9411f114e33ec71c47d2bccd5505a
treeadf25bc70ca348e9a6b1d80ac01174990c91686a
parentb0ab95d6133e783acacc6329c025d17fb282775e
LU-9019 obdclass: migrate jobstats to 64 bit time

Change all time_t fields for jobstats to time64_t.
Replace cfs_time_current_sec() to avoid the overflow
issues in 2038 with ktime_get_real_seconds().

Change-Id: Icf3af60b9b373acbf5d921add9b4c4d33c77aa61
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/27911
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lprocfs_status.h
lustre/obdclass/lprocfs_jobstats.c