From: alex Date: Tue, 15 Mar 2005 14:20:10 +0000 (+0000) Subject: b=5874 X-Git-Tag: v1_7_100~1548 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=f575a712489f2f0fc1ab39899571639d0b5761dd;hp=6fe8ce6feda6986d996cb98464d7470e7c5b8979 b=5874 additional debug info --- diff --git a/lustre/mds/handler.c b/lustre/mds/handler.c index 0383838..f0e837f 100644 --- 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); }