Whamcloud - gitweb
LU-9019 ldlm: migrate the rest of the code to 64 bit time 95/29295/4
authorJames Simmons <uja.ornl@yahoo.com>
Wed, 18 Oct 2017 17:26:00 +0000 (13:26 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 1 Nov 2017 04:57:22 +0000 (04:57 +0000)
commite920be6814512b1aa8696ea36d697d3b698c13e8
treed00ebabc2c7cdb841171720cb32d1e09234d899a
parent576551cb97c6a5efb27d8afc59ad60550dde51ce
LU-9019 ldlm: migrate the rest of the code to 64 bit time

Replace the last cfs_time_current_sec() to avoid the overflow
issues in 2038 with ktime_get_real_seconds(). Reduce the jiffies
usage to the bare minimum which is useage for mod_timer() and
schedule_timeout(). This makes the ldlm totally 64 bit time
compliant.

Change-Id: Iaee92c17d51fdfc55bd26e9e813e30a6ce794856
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/29295
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
13 files changed:
lustre/include/lustre_dlm.h
lustre/include/lustre_net.h
lustre/ldlm/ldlm_extent.c
lustre/ldlm/ldlm_lib.c
lustre/ldlm/ldlm_lock.c
lustre/ldlm/ldlm_lockd.c
lustre/ldlm/ldlm_request.c
lustre/ldlm/ldlm_resource.c
lustre/ofd/ofd_dev.c
lustre/ptlrpc/client.c
lustre/ptlrpc/import.c
lustre/ptlrpc/ptlrpcd.c
lustre/quota/qmt_handler.c