Whamcloud - gitweb
LU-9019 llite: change lli_glimpse_time to ktime 01/30601/2
authorJames Simmons <uja.ornl@yahoo.com>
Tue, 19 Dec 2017 18:20:45 +0000 (13:20 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 4 Jan 2018 02:48:34 +0000 (02:48 +0000)
commit9a484620bdd9ac2c3b25751334e1435e6472daff
tree1e6f0ea670a7b2d326941b345fba020101b1969a
parent34b52c0984db4c10851a6b6bbc0fbf5b53c81234
LU-9019 llite: change lli_glimpse_time to ktime

Currently lli_glimpse_time is in jiffies which can vary between
platforms. Migrate to ktime since we need more than second
time resolution that is consistent on any platform. Replace the
last cfs_time_current_sec() with ktime_get_real_seconds().

Change-Id: I352c3adbd07d9dadb7e5dbe180447a1cb18a48d2
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/30601
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c
lustre/llite/statahead.c