Whamcloud - gitweb
LU-4579 ldlm: Properly display time on lock timeout 01/10601/3
authorOleg Drokin <oleg.drokin@intel.com>
Thu, 5 Jun 2014 02:14:11 +0000 (22:14 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 17 Jun 2014 03:53:26 +0000 (03:53 +0000)
commitf3864905b26a90ed3a9bb6f99357264fa40015c4
tree280a0fa0df8fec4b421d24a8e0db8f5de8a53055
parentc394068ee148595711c661651368b91373bcc78a
LU-4579 ldlm: Properly display time on lock timeout

When lock timeout happens, need to printtime since last lock
activity, not since when the lock was granted.
As such set l_last_activity to current time when sending callbacks too.

Change-Id: I31d0de6d9add67865cfcb16af903647f7cb932a0
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-on: http://review.whamcloud.com/10601
Tested-by: Jenkins
Reviewed-by: Bobi Jam <bobijam@gmail.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/ldlm/ldlm_lockd.c