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:
6fe8ce6
)
b=5874
author
alex
<alex>
Tue, 15 Mar 2005 14:20:10 +0000
(14:20 +0000)
committer
alex
<alex>
Tue, 15 Mar 2005 14:20:10 +0000
(14:20 +0000)
additional debug info
lustre/mds/handler.c
patch
|
blob
|
history
diff --git
a/lustre/mds/handler.c
b/lustre/mds/handler.c
index
0383838
..
f0e837f
100644
(file)
--- a/
lustre/mds/handler.c
+++ b/
lustre/mds/handler.c
@@
-1086,6
+1086,13
@@
static int mds_getattr_lock(struct ptlrpc_request *req, int offset,
LASSERT(dparent);
dchild = ll_lookup_one_len(name, dparent, namesize - 1);
+ if (IS_ERR(dchild)) {
+ DEBUG_REQ(D_ERROR, req, "resent, not enqueuing new locks");
+ CDEBUG(D_ERROR, "lock against [%lu:%lu]/%*s\n",
+ (unsigned long) id_ino(&body->id1),
+ (unsigned long) id_gen(&body->id1),
+ namesize - 1, name);
+ }
LASSERT(!IS_ERR(dchild));
LDLM_LOCK_PUT(granted_lock);
}