Whamcloud - gitweb
LU-9019 o2iblnd: use 64-bit ibn_incarnation computation 67/23267/7
authorJames Simmons <uja.ornl@yahoo.com>
Sat, 28 Jan 2017 03:53:33 +0000 (22:53 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 7 Feb 2017 06:12:39 +0000 (06:12 +0000)
commit1bec033e97d8868b8d31ecc61b4e3ca0d1697d14
treea0005421d7cb18f3d672930d43b97f01efca5f22
parent9018f11cd5a1ab82353e79271163ef51db081e95
LU-9019 o2iblnd: use 64-bit ibn_incarnation computation

ibn_incarnation is a 64-bit value, but using timeval to compute
it will cause an overflow in 2038. This changes it to use
ktime_get_real_ns() instead.

Change-Id: I4698a046ece30a85c93ac1f12e541d81fcfd70f2
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/23267
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Doug Oucharek <doug.s.oucharek@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/klnds/o2iblnd/o2iblnd.c