From f575a712489f2f0fc1ab39899571639d0b5761dd Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 15 Mar 2005 14:20:10 +0000 Subject: [PATCH] b=5874 additional debug info --- lustre/mds/handler.c | 7 +++++++ 1 file changed, 7 insertions(+) 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); } -- 1.8.3.1