From: phil Date: Thu, 4 Dec 2003 04:55:28 +0000 (+0000) Subject: force D_OTHER on for the duration of the ldlm_namespace_dump, then restore X-Git-Tag: 1.0.2~112 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=f3d0f2b83187a9bf2a1de8366c8ac3289776246d;p=fs%2Flustre-release.git force D_OTHER on for the duration of the ldlm_namespace_dump, then restore --- 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);