Whamcloud - gitweb
Tell us which locks are still outstanding at shutdown time.
authoradilger <adilger>
Tue, 6 Aug 2002 23:02:31 +0000 (23:02 +0000)
committeradilger <adilger>
Tue, 6 Aug 2002 23:02:31 +0000 (23:02 +0000)
lustre/ldlm/ldlm_resource.c

index fec3c0a..297da2e 100644 (file)
@@ -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);