Whamcloud - gitweb
LU-9019 target: migrate to 64 bit time 09/27909/5
authorJames Simmons <uja.ornl@yahoo.com>
Thu, 13 Jul 2017 16:53:28 +0000 (12:53 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 22 Jul 2017 02:54:42 +0000 (02:54 +0000)
commitc4ff984dc55b29d810ee996a0d30ebd817c09df4
treed23f5dcea91a366fea15f2bc77c47d313f57dc96
parent829a24f644ceb453124b72c94584404d2e97f4f9
LU-9019 target: migrate to 64 bit time

Replace cfs_time_current_sec() to avoid the overflow
issues in 2038 with ktime_get_real_seconds(). Change
time_t bi_deadline to time64_t. Do a direction compare
instead of cfs_time_beforeeq() wrapper.

Change-Id: I93d1cab9ebdcc1f910096e8a229d6c37b244f41d
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/27909
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/target/barrier.c
lustre/target/out_lib.c