dlm: don't print common non-errors
authorDavid Teigland <teigland@redhat.com>
Wed, 7 Nov 2007 15:06:06 +0000 (09:06 -0600)
committerDavid Teigland <teigland@redhat.com>
Tue, 29 Jan 2008 23:17:08 +0000 (17:17 -0600)
Change log_error() to log_debug() for conditions that can occur in
large number in normal operation.

Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lock.c

index 7bc6ad9299a28637052c1f18bb71c60cef7843b3..63fe74df97c2ad08eddc5680adfddc3e0d0ed8d9 100644 (file)
@@ -4258,7 +4258,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;
 }