Whamcloud - gitweb
LU-9019 libcfs: remove cfs_time_XXX_64 wrappers 67/30867/2
authorJames Simmons <uja.ornl@yahoo.com>
Mon, 15 Jan 2018 00:17:01 +0000 (19:17 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 25 Jan 2018 04:46:49 +0000 (04:46 +0000)
commit2728de4db8c0f8177202e2ffcad74a1893b210c9
tree63aff235a9d4f2e17a361ebbffea6ff140e0d0f2
parentb11be372c21dcaa7a6e16f65cf4dd226ea39cadb
LU-9019 libcfs: remove cfs_time_XXX_64 wrappers

In an attempt to support 64 bit time handling before the linux
kernel developed time64_t and ktime lustre attempted to use
64 bit jiffies with a libcfs abstraction. Lets remove these
wrappers and replace them with modern 64 bit time support. The
lustre code that used these wrappers needs time resolution at
the seconds level so replace the code with time64_t handling.

Change-Id: I2bd53c4ce83830bedd4448678dffce9f2b2173b1
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/30867
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
25 files changed:
libcfs/include/libcfs/linux/linux-time.h
lustre/include/lu_target.h
lustre/include/lustre_import.h
lustre/include/obd.h
lustre/include/obd_class.h
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c
lustre/llite/lproc_llite.c
lustre/lmv/lmv_obd.c
lustre/lod/lod_qos.c
lustre/lov/lov_obd.c
lustre/lov/lov_request.c
lustre/mdc/mdc_request.c
lustre/mdt/mdt_handler.c
lustre/obdclass/genops.c
lustre/obdclass/lprocfs_status.c
lustre/obdecho/echo_client.c
lustre/ofd/ofd_dev.c
lustre/ofd/ofd_internal.h
lustre/ofd/ofd_obd.c
lustre/osc/osc_request.c
lustre/osp/osp_dev.c
lustre/ptlrpc/import.c
lustre/target/tgt_grant.c
lustre/target/tgt_main.c