aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm/recover.c
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2014-02-14 12:54:44 -0500
committerDavid Teigland <teigland@redhat.com>2014-02-14 12:54:44 -0500
commit075f01775f53640af4a2ca3ed8cbc71de6e37582 (patch)
tree3ef1bfec3c2d9bee8cd9b2d182bfaf96026c2250 /fs/dlm/recover.c
parent9505857103007fb96b567a381bb056039559aa6f (diff)
dlm: use INFO for recovery messages
The log messages relating to the progress of recovery are minimal and very often useful. Change these to the KERN_INFO level so they are always available. Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/recover.c')
-rw-r--r--fs/dlm/recover.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/dlm/recover.c b/fs/dlm/recover.c
index a6bc63f6e31b..eaea789bf97d 100644
--- a/fs/dlm/recover.c
+++ b/fs/dlm/recover.c
@@ -526,7 +526,7 @@ int dlm_recover_masters(struct dlm_ls *ls)
526 int nodir = dlm_no_directory(ls); 526 int nodir = dlm_no_directory(ls);
527 int error; 527 int error;
528 528
529 log_debug(ls, "dlm_recover_masters"); 529 log_rinfo(ls, "dlm_recover_masters");
530 530
531 down_read(&ls->ls_root_sem); 531 down_read(&ls->ls_root_sem);
532 list_for_each_entry(r, &ls->ls_root_list, res_root_list) { 532 list_for_each_entry(r, &ls->ls_root_list, res_root_list) {
@@ -552,7 +552,7 @@ int dlm_recover_masters(struct dlm_ls *ls)
552 } 552 }
553 up_read(&ls->ls_root_sem); 553 up_read(&ls->ls_root_sem);
554 554
555 log_debug(ls, "dlm_recover_masters %u of %u", count, total); 555 log_rinfo(ls, "dlm_recover_masters %u of %u", count, total);
556 556
557 error = dlm_wait_function(ls, &recover_idr_empty); 557 error = dlm_wait_function(ls, &recover_idr_empty);
558 out: 558 out:
@@ -685,7 +685,7 @@ int dlm_recover_locks(struct dlm_ls *ls)
685 } 685 }
686 up_read(&ls->ls_root_sem); 686 up_read(&ls->ls_root_sem);
687 687
688 log_debug(ls, "dlm_recover_locks %d out", count); 688 log_rinfo(ls, "dlm_recover_locks %d out", count);
689 689
690 error = dlm_wait_function(ls, &recover_list_empty); 690 error = dlm_wait_function(ls, &recover_list_empty);
691 out: 691 out:
@@ -883,7 +883,7 @@ void dlm_recover_rsbs(struct dlm_ls *ls)
883 up_read(&ls->ls_root_sem); 883 up_read(&ls->ls_root_sem);
884 884
885 if (count) 885 if (count)
886 log_debug(ls, "dlm_recover_rsbs %d done", count); 886 log_rinfo(ls, "dlm_recover_rsbs %d done", count);
887} 887}
888 888
889/* Create a single list of all root rsb's to be used during recovery */ 889/* Create a single list of all root rsb's to be used during recovery */
@@ -950,6 +950,6 @@ void dlm_clear_toss(struct dlm_ls *ls)
950 } 950 }
951 951
952 if (count) 952 if (count)
953 log_debug(ls, "dlm_clear_toss %u done", count); 953 log_rinfo(ls, "dlm_clear_toss %u done", count);
954} 954}
955 955