Whamcloud - gitweb
LU-9019 osc: migrate to time64_t 63/30063/3
authorJames Simmons <uja.ornl@yahoo.com>
Tue, 21 Nov 2017 03:39:40 +0000 (22:39 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 17 Dec 2017 06:18:50 +0000 (06:18 +0000)
commit4f2a5d5887492da9abe320074511811415e0a06c
treec4c67bf1a648f7d9a184fec291c07714ce97e583
parent973759d1ff3bbcb217754bd9942fdf670dec2d96
LU-9019 osc: migrate to time64_t

Change od_contention_time from int to time64_t to make it clear
this field is in units of seconds. With this change move the other
*_contention_time fields from jiffies to time64_t to avoid the
overhead of switching between the two different time formats.
Change ops_submit_time also to time64_t since using jiffies
doesn't gain us anything and having it in time64_t makes it clear
this is code related to time.

Change-Id: I97d3685ac61781e6b1dc8634bc105bb0ffe76aa0
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/30063
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
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