Whamcloud - gitweb
LU-4423 obd: use ktime_t for calculating elapsed time 46/23146/9
authorArnd Bergmann <arnd@arndb.de>
Tue, 10 Jan 2017 23:16:11 +0000 (18:16 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 24 Jan 2017 05:21:59 +0000 (05:21 +0000)
commit939a742d5093c1a79cc9c08496d181597d28f243
tree09dc9f332a6227503636d48b06dc6b50b9ffa66c
parent2dbb4d1ae3bcda5c733c512df141837289e03b7a
LU-4423 obd: use ktime_t for calculating elapsed time

process_param2_config() tries to print how much time has passed
across a call_usermodehelper() function, and uses struct timeval
for that.

We want to remove this structure, so this is better expressed
in terms of ktime_t and ktime_us_delta().

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Change-Id: I90c61d9d49ee0d500772f1b370790e37859f18b2
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/23146
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>
lustre/obdclass/obd_config.c