dlm: add time stamp of blocking callback

Record the time the latest blocking callback was queued for
a lock. This will be used for debugging in combination with
lock queue timestamp changes in the previous patch.

Signed-off-by: David Teigland <teigland@redhat.com>

+3
+1
fs/dlm/dlm_internal.h
··· 245 245 struct list_head lkb_astqueue; /* need ast to be sent */ 246 246 struct list_head lkb_ownqueue; /* list of locks for a process */ 247 247 struct list_head lkb_time_list; 248 + ktime_t lkb_time_bast; /* for debugging */ 248 249 ktime_t lkb_timestamp; 249 250 unsigned long lkb_timeout_cs; 250 251
+2
fs/dlm/lock.c
··· 318 318 319 319 static void queue_bast(struct dlm_rsb *r, struct dlm_lkb *lkb, int rqmode) 320 320 { 321 + lkb->lkb_time_bast = ktime_get(); 322 + 321 323 if (is_master_copy(lkb)) 322 324 send_bast(r, lkb, rqmode); 323 325 else