Whamcloud - gitweb
LU-9019 ofd: migrate to 64 bit time 76/28976/9
authorJames Simmons <uja.ornl@yahoo.com>
Tue, 17 Oct 2017 00:40:19 +0000 (20:40 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 24 Oct 2017 07:18:15 +0000 (07:18 +0000)
commita3f734db9b60c4f574ce104e4f03418d53a00215
tree99fd6cfd0e3a3a4e471cd1c0731caf30ba0db7ab
parent685ef61f0fb9849e3f7a32c4ebf2980d3300afb0
LU-9019 ofd: migrate to 64 bit time

Change fmd_expire and ofd_fmd_max_age to time64_t fields since we
don't need more than seconds resolution. Move several parts of the
code away from jiffies handling since it can be different across a
set of nodes. We leave l_last_used and the stats timeout code alone
since it affects more than the ofd layer.

Change-Id: I505ad9b1c553bf1769241a5920cf146595a3812c
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/28976
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Jenkins
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/ofd/lproc_ofd.c
lustre/ofd/ofd_dev.c
lustre/ofd/ofd_fmd.c
lustre/ofd/ofd_internal.h