Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5b5f68
)
- update enqueue time upon lock conversion otherwise we get too long
author
alex
<alex>
Sun, 10 Jul 2005 18:31:06 +0000
(18:31 +0000)
committer
alex
<alex>
Sun, 10 Jul 2005 18:31:06 +0000
(18:31 +0000)
enqueue wait time warning
lustre/ldlm/ldlm_lockd.c
patch
|
blob
|
history
diff --git
a/lustre/ldlm/ldlm_lockd.c
b/lustre/ldlm/ldlm_lockd.c
index
c47e514
..
340891d
100644
(file)
--- a/
lustre/ldlm/ldlm_lockd.c
+++ b/
lustre/ldlm/ldlm_lockd.c
@@
-797,6
+797,7
@@
int ldlm_handle_convert(struct ptlrpc_request *req)
LDLM_DEBUG(lock, "server-side convert handler START");
l_unlock(&lock->l_resource->lr_namespace->ns_lock);
+ do_gettimeofday(&lock->l_enqueued_time);
res = ldlm_lock_convert(lock, dlm_req->lock_desc.l_req_mode,
(int *)&dlm_rep->lock_flags);
if (res) {