Whamcloud - gitweb
LU-9019 osc: migrate to 64 bit time 07/30607/4
authorJames Simmons <uja.ornl@yahoo.com>
Thu, 4 Jan 2018 03:24:57 +0000 (22:24 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 14 Jan 2018 02:36:15 +0000 (02:36 +0000)
commit3ea899c9a6117d722acc936d2659fd68c4f83eeb
treed44ff44f991f5e14e70b3679897c2cdbe51aae76
parent35e86c52cd36edd7b5b87c0f7f1da33ed90d5140
LU-9019 osc: migrate to 64 bit time

Change od_contention_time from int to time64_t to make it clear
this field is in units of seconds. Change the *_contention_time
fields from jiffies to ktime_t to make it clear we are dealing
with time and ktime_t is consistent on any platform unlike
jiffies.

Change-Id: Ieb240e40cc4d56050607314db057004db00aae13
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/30607
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
libcfs/autoconf/lustre-libcfs.m4
libcfs/include/libcfs/linux/linux-time.h
lustre/include/lustre_osc.h
lustre/mdc/lproc_mdc.c
lustre/osc/lproc_osc.c
lustre/osc/osc_cache.c
lustre/osc/osc_object.c
lustre/osc/osc_page.c