From df8ddaba8a5595e474cb9abceeb6a6fb17073ed9 Mon Sep 17 00:00:00 2001 From: adilger Date: Tue, 6 Aug 2002 23:02:31 +0000 Subject: [PATCH] Tell us which locks are still outstanding at shutdown time. --- lustre/ldlm/ldlm_resource.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lustre/ldlm/ldlm_resource.c b/lustre/ldlm/ldlm_resource.c index fec3c0a..297da2e 100644 --- a/lustre/ldlm/ldlm_resource.c +++ b/lustre/ldlm/ldlm_resource.c @@ -119,7 +119,9 @@ static void cleanup_resource(struct ldlm_resource *res, struct list_head *q) ldlm_lock_cancel(lock); } } else { - CERROR("Freeing a lock still held by a client node.\n"); + CERROR("Freeing lock %p still held by client node.\n", + lock); + ldlm_lock_dump(lock); ldlm_resource_unlink_lock(lock); ldlm_lock_destroy(lock); -- 1.8.3.1