From: pschwan Date: Thu, 8 Aug 2002 09:57:22 +0000 (+0000) Subject: in ldlm_lock_dump, show the lock holder's nid and the remote lock handle X-Git-Tag: 0.5.5~189 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=d6ce64be71151b0647547b6ef3880e18893e4077;p=fs%2Flustre-release.git in ldlm_lock_dump, show the lock holder's nid and the remote lock handle --- 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]);