[Cluster-devel] [PATCH] dlm: don't print common non-errors
David Teigland
teigland at redhat.com
Wed Nov 7 15:06:06 UTC 2007
Change log_error() to log_debug() for conditions that can occur in
large number in normal operation.
Signed-off-by: David Teigland <teigland at redhat.com>
---
fs/dlm/lock.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/dlm/lock.c b/fs/dlm/lock.c
index 3915b8e..c21deba 100644
--- a/fs/dlm/lock.c
+++ b/fs/dlm/lock.c
@@ -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;
}
--
1.5.2.1
More information about the Cluster-devel
mailing list