From d6ce64be71151b0647547b6ef3880e18893e4077 Mon Sep 17 00:00:00 2001 From: pschwan Date: Thu, 8 Aug 2002 09:57:22 +0000 Subject: [PATCH] in ldlm_lock_dump, show the lock holder's nid and the remote lock handle --- lustre/ldlm/ldlm_lock.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lustre/ldlm/ldlm_lock.c b/lustre/ldlm/ldlm_lock.c index 6eb1e60..ba49986 100644 --- a/lustre/ldlm/ldlm_lock.c +++ b/lustre/ldlm/ldlm_lock.c @@ -834,6 +834,9 @@ void ldlm_lock_dump(struct ldlm_lock *lock) lock->l_version[2], lock->l_version[3]); CDEBUG(D_OTHER, " -- Lock dump: %p (%s)\n", lock, ver); + CDEBUG(D_OTHER, " Node: NID %x (rhandle: %Lx)\n", + lock->l_connection->c_peer.peer_nid, + lock->l_remote_handle.addr); CDEBUG(D_OTHER, " Parent: %p\n", lock->l_parent); CDEBUG(D_OTHER, " Resource: %p (%Ld)\n", lock->l_resource, lock->l_resource->lr_name[0]); -- 1.8.3.1