Whamcloud - gitweb
LU-4579 ldlm: Properly display time on lock timeout 97/10997/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, 19 Aug 2014 21:52:21 +0000 (21:52 +0000)
commit0639f0719fe91943f1609c9eacfb68b5428b5b28
tree8f776808f25e150983a147e13aceb31a1618a4c8
parentfb970b342a7fac22a17b4932e11febb6963b3dff
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.

Lustre-change: http://review.whamcloud.com/10601
Lustre-commit: f3864905b26a90ed3a9bb6f99357264fa40015c4

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>
Reviewed-on: http://review.whamcloud.com/10997
lustre/ldlm/ldlm_lockd.c