From f3d0f2b83187a9bf2a1de8366c8ac3289776246d Mon Sep 17 00:00:00 2001 From: phil Date: Thu, 4 Dec 2003 04:55:28 +0000 Subject: [PATCH] force D_OTHER on for the duration of the ldlm_namespace_dump, then restore --- lustre/ldlm/ldlm_request.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lustre/ldlm/ldlm_request.c b/lustre/ldlm/ldlm_request.c index a7c8050..adb6870 100644 --- a/lustre/ldlm/ldlm_request.c +++ b/lustre/ldlm/ldlm_request.c @@ -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); -- 1.8.3.1