Whamcloud - gitweb
LU-4423 ptlrpc: use 64-bit time for adaptive timeout 70/23270/2
authorArnd Bergmann <arnd@arndb.de>
Thu, 20 Oct 2016 01:24:02 +0000 (21:24 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 1 Jan 2017 01:58:48 +0000 (01:58 +0000)
commit9ee0787384daab9ba76ecaa31e1f2b9b41afdd9a
treed9a5d3f6c89984a930361203305839a113ef2366
parentebbdda942b97a7b144774cfe838521a178ce4847
LU-4423 ptlrpc: use 64-bit time for adaptive timeout

The adaptive timeout handling stores absolute times in 32-bit time_t
quantities, which will overflow in 2038.

This changes it to use time64_t.

Linux-commit: 0ac0478b65de1e5b8b62f608bdf1d8ba631acc4d

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Change-Id: I50d1090865af8970276d039281fc2ca0b87fa8af
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/23270
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lustre_import.h
lustre/ptlrpc/import.c
lustre/ptlrpc/lproc_ptlrpc.c