Whamcloud - gitweb
LU-9019 mdt: use ktime_t for calculating elapsed time 23/24923/2
authorJames Simmons <uja.ornl@yahoo.com>
Tue, 17 Jan 2017 19:36:44 +0000 (14:36 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 31 Jan 2017 04:07:23 +0000 (04:07 +0000)
commitd1b47781a3acd449473884f42e71ece2a7789670
treeb8bf99ac566df887f98eb37b27d89895204786d2
parentf431777cf5cbb0f1493e91a35bbc2a26e1d14db9
LU-9019 mdt: use ktime_t for calculating elapsed time

mdt_identity_do_upcall() 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().

Change-Id: I2d167a50c537c525600622977b8cb422f0a88ba4
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/24923
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>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdt/mdt_identity.c