Skip to contentSkip to conversation

dlm: don't print common non-errors

PATCH New David Teigland 1 participant 1 message Nov 7, 2007 Distributed lock manager (DLM)

lore
Share & tools
lore

David Teigland

author maintainer
#0 lore raw

PATCH 1/1 dlm: don't print common non-errors

Change log_error() to log_debug() for conditions that can occur in large number in normal operation.

---
 fs/dlm/lock.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
fs/dlm/lock.c +1 -1
index 3915b8e..c21deba 100644
@@ -4259,7 +4259,7 @@ int dlm_recover_master_copy(struct dlm_ls *ls, struct dlm_rcom *rc)
 	put_rsb(r);
  out:
 	if (error)
-		log_print("recover_master_copy %d %x", error, rl->rl_lkid);
+		log_debug(ls, "recover_master_copy %d %x", error, rl->rl_lkid);
 	rl->rl_result = error;
 	return error;
 }
Signature · 1 line
1.5.2.1