Whamcloud - gitweb
LU-9397 ksocklnd: move remaining time handling to 64 bits 13/26813/9
authorJames Simmons <uja.ornl@yahoo.com>
Tue, 23 May 2017 06:50:02 +0000 (02:50 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 3 Jun 2017 03:55:21 +0000 (03:55 +0000)
commit59c25356208706b4dd0920bc7754f21e2db14a0f
treedba1d84f3ea6b9d44fa24f955cf922cbcd0d9867
parent8e02647def0d806023cb3bb4b91c5b1e38ee2872
LU-9397 ksocklnd: move remaining time handling to 64 bits

Examination of the ksocklnd time handle revealed that the
code only requires second level precision. Since this is
the case we can move away from using jiffies to time64_t.
This allows us to be independent of the HZ settings in
addition to making it clear what is time handling, using
time64_t verses unsigned long. In the process we remove
many of the various libcfs time wrappers as well.

Change-Id: I968630ef94febd4bff703fb633e677996939f95b
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/26813
Reviewed-by: Doug Oucharek <doug.s.oucharek@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Amir Shehata <amir.shehata@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/klnds/socklnd/socklnd.c
lnet/klnds/socklnd/socklnd.h
lnet/klnds/socklnd/socklnd_cb.c