Whamcloud - gitweb
force D_OTHER on for the duration of the ldlm_namespace_dump, then restore
authorphil <phil>
Thu, 4 Dec 2003 04:55:28 +0000 (04:55 +0000)
committerphil <phil>
Thu, 4 Dec 2003 04:55:28 +0000 (04:55 +0000)
lustre/ldlm/ldlm_request.c

index a7c8050..adb6870 100644 (file)
@@ -61,8 +61,11 @@ int ldlm_expired_completion_wait(void *data)
                    imp->imp_target_uuid.uuid,
                    imp->imp_connection->c_remote_uuid.uuid);
         if (time_after(jiffies, next_dump)) {
+                unsigned int debug = portal_debug;
                 next_dump = jiffies + 300 * HZ;
+                portal_debug |= D_OTHER;
                 ldlm_namespace_dump(lock->l_resource->lr_namespace);
+                portal_debug = debug;
         }
 
         RETURN(0);