aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm
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
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')
-rw-r--r--fs/dlm/ast.c2
-rw-r--r--fs/dlm/dir.c4
-rw-r--r--fs/dlm/dlm_internal.h2
-rw-r--r--fs/dlm/lock.c6
-rw-r--r--fs/dlm/lockspace.c8
-rw-r--r--fs/dlm/member.c27
-rw-r--r--fs/dlm/recover.c10
-rw-r--r--fs/dlm/recoverd.c34
8 files changed, 46 insertions, 47 deletions
diff --git a/fs/dlm/ast.c b/fs/dlm/ast.c
index 42794c00a367..dcea1e37a1b7 100644
--- a/fs/dlm/ast.c
+++ b/fs/dlm/ast.c
@@ -309,6 +309,6 @@ void dlm_callback_resume(struct dlm_ls *ls)
309 mutex_unlock(&ls->ls_cb_mutex); 309 mutex_unlock(&ls->ls_cb_mutex);
310 310
311 if (count) 311 if (count)
312 log_debug(ls, "dlm_callback_resume %d", count); 312 log_rinfo(ls, "dlm_callback_resume %d", count);
313} 313}
314 314
diff --git a/fs/dlm/dir.c b/fs/dlm/dir.c
index 278a75cda446..d975851a7e1e 100644
--- a/fs/dlm/dir.c
+++ b/fs/dlm/dir.c
@@ -68,7 +68,7 @@ int dlm_recover_directory(struct dlm_ls *ls)
68 uint16_t namelen; 68 uint16_t namelen;
69 unsigned int count = 0, count_match = 0, count_bad = 0, count_add = 0; 69 unsigned int count = 0, count_match = 0, count_bad = 0, count_add = 0;
70 70
71 log_debug(ls, "dlm_recover_directory"); 71 log_rinfo(ls, "dlm_recover_directory");
72 72
73 if (dlm_no_directory(ls)) 73 if (dlm_no_directory(ls))
74 goto out_status; 74 goto out_status;
@@ -189,7 +189,7 @@ int dlm_recover_directory(struct dlm_ls *ls)
189 error = 0; 189 error = 0;
190 dlm_set_recover_status(ls, DLM_RS_DIR); 190 dlm_set_recover_status(ls, DLM_RS_DIR);
191 191
192 log_debug(ls, "dlm_recover_directory %u in %u new", 192 log_rinfo(ls, "dlm_recover_directory %u in %u new",
193 count, count_add); 193 count, count_add);
194 out_free: 194 out_free:
195 kfree(last_name); 195 kfree(last_name);
diff --git a/fs/dlm/dlm_internal.h b/fs/dlm/dlm_internal.h
index e7665c31f7b1..5eff6ea3e27f 100644
--- a/fs/dlm/dlm_internal.h
+++ b/fs/dlm/dlm_internal.h
@@ -65,6 +65,8 @@ struct dlm_mhandle;
65 printk(KERN_ERR "dlm: "fmt"\n" , ##args) 65 printk(KERN_ERR "dlm: "fmt"\n" , ##args)
66#define log_error(ls, fmt, args...) \ 66#define log_error(ls, fmt, args...) \
67 printk(KERN_ERR "dlm: %s: " fmt "\n", (ls)->ls_name , ##args) 67 printk(KERN_ERR "dlm: %s: " fmt "\n", (ls)->ls_name , ##args)
68#define log_rinfo(ls, fmt, args...) \
69 printk(KERN_INFO "dlm: %s: " fmt "\n", (ls)->ls_name , ##args);
68 70
69#define log_debug(ls, fmt, args...) \ 71#define log_debug(ls, fmt, args...) \
70do { \ 72do { \
diff --git a/fs/dlm/lock.c b/fs/dlm/lock.c
index 5ec4d60525d8..83f3d5520307 100644
--- a/fs/dlm/lock.c
+++ b/fs/dlm/lock.c
@@ -5463,7 +5463,7 @@ void dlm_recover_purge(struct dlm_ls *ls)
5463 up_write(&ls->ls_root_sem); 5463 up_write(&ls->ls_root_sem);
5464 5464
5465 if (lkb_count) 5465 if (lkb_count)
5466 log_debug(ls, "dlm_recover_purge %u locks for %u nodes", 5466 log_rinfo(ls, "dlm_recover_purge %u locks for %u nodes",
5467 lkb_count, nodes_count); 5467 lkb_count, nodes_count);
5468} 5468}
5469 5469
@@ -5537,7 +5537,7 @@ void dlm_recover_grant(struct dlm_ls *ls)
5537 } 5537 }
5538 5538
5539 if (lkb_count) 5539 if (lkb_count)
5540 log_debug(ls, "dlm_recover_grant %u locks on %u resources", 5540 log_rinfo(ls, "dlm_recover_grant %u locks on %u resources",
5541 lkb_count, rsb_count); 5541 lkb_count, rsb_count);
5542} 5542}
5543 5543
@@ -5696,7 +5696,7 @@ int dlm_recover_master_copy(struct dlm_ls *ls, struct dlm_rcom *rc)
5696 put_rsb(r); 5696 put_rsb(r);
5697 out: 5697 out:
5698 if (error && error != -EEXIST) 5698 if (error && error != -EEXIST)
5699 log_debug(ls, "dlm_recover_master_copy remote %d %x error %d", 5699 log_rinfo(ls, "dlm_recover_master_copy remote %d %x error %d",
5700 from_nodeid, remid, error); 5700 from_nodeid, remid, error);
5701 rl->rl_result = cpu_to_le32(error); 5701 rl->rl_result = cpu_to_le32(error);
5702 return error; 5702 return error;
diff --git a/fs/dlm/lockspace.c b/fs/dlm/lockspace.c
index d5abafd56a6d..04d6398c1f1c 100644
--- a/fs/dlm/lockspace.c
+++ b/fs/dlm/lockspace.c
@@ -190,7 +190,7 @@ static int do_uevent(struct dlm_ls *ls, int in)
190 else 190 else
191 kobject_uevent(&ls->ls_kobj, KOBJ_OFFLINE); 191 kobject_uevent(&ls->ls_kobj, KOBJ_OFFLINE);
192 192
193 log_debug(ls, "%s the lockspace group...", in ? "joining" : "leaving"); 193 log_rinfo(ls, "%s the lockspace group...", in ? "joining" : "leaving");
194 194
195 /* dlm_controld will see the uevent, do the necessary group management 195 /* dlm_controld will see the uevent, do the necessary group management
196 and then write to sysfs to wake us */ 196 and then write to sysfs to wake us */
@@ -198,7 +198,7 @@ static int do_uevent(struct dlm_ls *ls, int in)
198 error = wait_event_interruptible(ls->ls_uevent_wait, 198 error = wait_event_interruptible(ls->ls_uevent_wait,
199 test_and_clear_bit(LSFL_UEVENT_WAIT, &ls->ls_flags)); 199 test_and_clear_bit(LSFL_UEVENT_WAIT, &ls->ls_flags));
200 200
201 log_debug(ls, "group event done %d %d", error, ls->ls_uevent_result); 201 log_rinfo(ls, "group event done %d %d", error, ls->ls_uevent_result);
202 202
203 if (error) 203 if (error)
204 goto out; 204 goto out;
@@ -640,7 +640,7 @@ static int new_lockspace(const char *name, const char *cluster,
640 640
641 dlm_create_debug_file(ls); 641 dlm_create_debug_file(ls);
642 642
643 log_debug(ls, "join complete"); 643 log_rinfo(ls, "join complete");
644 *lockspace = ls; 644 *lockspace = ls;
645 return 0; 645 return 0;
646 646
@@ -835,7 +835,7 @@ static int release_lockspace(struct dlm_ls *ls, int force)
835 dlm_clear_members(ls); 835 dlm_clear_members(ls);
836 dlm_clear_members_gone(ls); 836 dlm_clear_members_gone(ls);
837 kfree(ls->ls_node_array); 837 kfree(ls->ls_node_array);
838 log_debug(ls, "release_lockspace final free"); 838 log_rinfo(ls, "release_lockspace final free");
839 kobject_put(&ls->ls_kobj); 839 kobject_put(&ls->ls_kobj);
840 /* The ls structure will be freed when the kobject is done with */ 840 /* The ls structure will be freed when the kobject is done with */
841 841
diff --git a/fs/dlm/member.c b/fs/dlm/member.c
index 476557b54921..9c47f1c14a8b 100644
--- a/fs/dlm/member.c
+++ b/fs/dlm/member.c
@@ -60,18 +60,15 @@ void dlm_slots_copy_out(struct dlm_ls *ls, struct dlm_rcom *rc)
60 60
61#define SLOT_DEBUG_LINE 128 61#define SLOT_DEBUG_LINE 128
62 62
63static void log_debug_slots(struct dlm_ls *ls, uint32_t gen, int num_slots, 63static void log_slots(struct dlm_ls *ls, uint32_t gen, int num_slots,
64 struct rcom_slot *ro0, struct dlm_slot *array, 64 struct rcom_slot *ro0, struct dlm_slot *array,
65 int array_size) 65 int array_size)
66{ 66{
67 char line[SLOT_DEBUG_LINE]; 67 char line[SLOT_DEBUG_LINE];
68 int len = SLOT_DEBUG_LINE - 1; 68 int len = SLOT_DEBUG_LINE - 1;
69 int pos = 0; 69 int pos = 0;
70 int ret, i; 70 int ret, i;
71 71
72 if (!dlm_config.ci_log_debug)
73 return;
74
75 memset(line, 0, sizeof(line)); 72 memset(line, 0, sizeof(line));
76 73
77 if (array) { 74 if (array) {
@@ -95,7 +92,7 @@ static void log_debug_slots(struct dlm_ls *ls, uint32_t gen, int num_slots,
95 } 92 }
96 } 93 }
97 94
98 log_debug(ls, "generation %u slots %d%s", gen, num_slots, line); 95 log_rinfo(ls, "generation %u slots %d%s", gen, num_slots, line);
99} 96}
100 97
101int dlm_slots_copy_in(struct dlm_ls *ls) 98int dlm_slots_copy_in(struct dlm_ls *ls)
@@ -129,7 +126,7 @@ int dlm_slots_copy_in(struct dlm_ls *ls)
129 ro->ro_slot = le16_to_cpu(ro->ro_slot); 126 ro->ro_slot = le16_to_cpu(ro->ro_slot);
130 } 127 }
131 128
132 log_debug_slots(ls, gen, num_slots, ro0, NULL, 0); 129 log_slots(ls, gen, num_slots, ro0, NULL, 0);
133 130
134 list_for_each_entry(memb, &ls->ls_nodes, list) { 131 list_for_each_entry(memb, &ls->ls_nodes, list) {
135 for (i = 0, ro = ro0; i < num_slots; i++, ro++) { 132 for (i = 0, ro = ro0; i < num_slots; i++, ro++) {
@@ -274,7 +271,7 @@ int dlm_slots_assign(struct dlm_ls *ls, int *num_slots, int *slots_size,
274 271
275 gen++; 272 gen++;
276 273
277 log_debug_slots(ls, gen, num, NULL, array, array_size); 274 log_slots(ls, gen, num, NULL, array, array_size);
278 275
279 max_slots = (dlm_config.ci_buffer_size - sizeof(struct dlm_rcom) - 276 max_slots = (dlm_config.ci_buffer_size - sizeof(struct dlm_rcom) -
280 sizeof(struct rcom_config)) / sizeof(struct rcom_slot); 277 sizeof(struct rcom_config)) / sizeof(struct rcom_slot);
@@ -447,7 +444,7 @@ static int ping_members(struct dlm_ls *ls)
447 break; 444 break;
448 } 445 }
449 if (error) 446 if (error)
450 log_debug(ls, "ping_members aborted %d last nodeid %d", 447 log_rinfo(ls, "ping_members aborted %d last nodeid %d",
451 error, ls->ls_recover_nodeid); 448 error, ls->ls_recover_nodeid);
452 return error; 449 return error;
453} 450}
@@ -539,7 +536,7 @@ int dlm_recover_members(struct dlm_ls *ls, struct dlm_recover *rv, int *neg_out)
539 count as a negative change so the "neg" recovery steps will happen */ 536 count as a negative change so the "neg" recovery steps will happen */
540 537
541 list_for_each_entry(memb, &ls->ls_nodes_gone, list) { 538 list_for_each_entry(memb, &ls->ls_nodes_gone, list) {
542 log_debug(ls, "prev removed member %d", memb->nodeid); 539 log_rinfo(ls, "prev removed member %d", memb->nodeid);
543 neg++; 540 neg++;
544 } 541 }
545 542
@@ -551,10 +548,10 @@ int dlm_recover_members(struct dlm_ls *ls, struct dlm_recover *rv, int *neg_out)
551 continue; 548 continue;
552 549
553 if (!node) { 550 if (!node) {
554 log_debug(ls, "remove member %d", memb->nodeid); 551 log_rinfo(ls, "remove member %d", memb->nodeid);
555 } else { 552 } else {
556 /* removed and re-added */ 553 /* removed and re-added */
557 log_debug(ls, "remove member %d comm_seq %u %u", 554 log_rinfo(ls, "remove member %d comm_seq %u %u",
558 memb->nodeid, memb->comm_seq, node->comm_seq); 555 memb->nodeid, memb->comm_seq, node->comm_seq);
559 } 556 }
560 557
@@ -571,7 +568,7 @@ int dlm_recover_members(struct dlm_ls *ls, struct dlm_recover *rv, int *neg_out)
571 if (dlm_is_member(ls, node->nodeid)) 568 if (dlm_is_member(ls, node->nodeid))
572 continue; 569 continue;
573 dlm_add_member(ls, node); 570 dlm_add_member(ls, node);
574 log_debug(ls, "add member %d", node->nodeid); 571 log_rinfo(ls, "add member %d", node->nodeid);
575 } 572 }
576 573
577 list_for_each_entry(memb, &ls->ls_nodes, list) { 574 list_for_each_entry(memb, &ls->ls_nodes, list) {
@@ -591,7 +588,7 @@ int dlm_recover_members(struct dlm_ls *ls, struct dlm_recover *rv, int *neg_out)
591 complete(&ls->ls_members_done); 588 complete(&ls->ls_members_done);
592 } 589 }
593 590
594 log_debug(ls, "dlm_recover_members %d nodes", ls->ls_num_nodes); 591 log_rinfo(ls, "dlm_recover_members %d nodes", ls->ls_num_nodes);
595 return error; 592 return error;
596} 593}
597 594
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
diff --git a/fs/dlm/recoverd.c b/fs/dlm/recoverd.c
index 32f9f8926ec3..6859b4bf971e 100644
--- a/fs/dlm/recoverd.c
+++ b/fs/dlm/recoverd.c
@@ -55,7 +55,7 @@ static int ls_recover(struct dlm_ls *ls, struct dlm_recover *rv)
55 unsigned long start; 55 unsigned long start;
56 int error, neg = 0; 56 int error, neg = 0;
57 57
58 log_debug(ls, "dlm_recover %llu", (unsigned long long)rv->seq); 58 log_rinfo(ls, "dlm_recover %llu", (unsigned long long)rv->seq);
59 59
60 mutex_lock(&ls->ls_recoverd_active); 60 mutex_lock(&ls->ls_recoverd_active);
61 61
@@ -76,7 +76,7 @@ static int ls_recover(struct dlm_ls *ls, struct dlm_recover *rv)
76 76
77 error = dlm_recover_members(ls, rv, &neg); 77 error = dlm_recover_members(ls, rv, &neg);
78 if (error) { 78 if (error) {
79 log_debug(ls, "dlm_recover_members error %d", error); 79 log_rinfo(ls, "dlm_recover_members error %d", error);
80 goto fail; 80 goto fail;
81 } 81 }
82 82
@@ -90,7 +90,7 @@ static int ls_recover(struct dlm_ls *ls, struct dlm_recover *rv)
90 90
91 error = dlm_recover_members_wait(ls); 91 error = dlm_recover_members_wait(ls);
92 if (error) { 92 if (error) {
93 log_debug(ls, "dlm_recover_members_wait error %d", error); 93 log_rinfo(ls, "dlm_recover_members_wait error %d", error);
94 goto fail; 94 goto fail;
95 } 95 }
96 96
@@ -103,7 +103,7 @@ static int ls_recover(struct dlm_ls *ls, struct dlm_recover *rv)
103 103
104 error = dlm_recover_directory(ls); 104 error = dlm_recover_directory(ls);
105 if (error) { 105 if (error) {
106 log_debug(ls, "dlm_recover_directory error %d", error); 106 log_rinfo(ls, "dlm_recover_directory error %d", error);
107 goto fail; 107 goto fail;
108 } 108 }
109 109
@@ -111,11 +111,11 @@ static int ls_recover(struct dlm_ls *ls, struct dlm_recover *rv)
111 111
112 error = dlm_recover_directory_wait(ls); 112 error = dlm_recover_directory_wait(ls);
113 if (error) { 113 if (error) {
114 log_debug(ls, "dlm_recover_directory_wait error %d", error); 114 log_rinfo(ls, "dlm_recover_directory_wait error %d", error);
115 goto fail; 115 goto fail;
116 } 116 }
117 117
118 log_debug(ls, "dlm_recover_directory %u out %u messages", 118 log_rinfo(ls, "dlm_recover_directory %u out %u messages",
119 ls->ls_recover_dir_sent_res, ls->ls_recover_dir_sent_msg); 119 ls->ls_recover_dir_sent_res, ls->ls_recover_dir_sent_msg);
120 120
121 /* 121 /*
@@ -144,7 +144,7 @@ static int ls_recover(struct dlm_ls *ls, struct dlm_recover *rv)
144 144
145 error = dlm_recover_masters(ls); 145 error = dlm_recover_masters(ls);
146 if (error) { 146 if (error) {
147 log_debug(ls, "dlm_recover_masters error %d", error); 147 log_rinfo(ls, "dlm_recover_masters error %d", error);
148 goto fail; 148 goto fail;
149 } 149 }
150 150
@@ -154,7 +154,7 @@ static int ls_recover(struct dlm_ls *ls, struct dlm_recover *rv)
154 154
155 error = dlm_recover_locks(ls); 155 error = dlm_recover_locks(ls);
156 if (error) { 156 if (error) {
157 log_debug(ls, "dlm_recover_locks error %d", error); 157 log_rinfo(ls, "dlm_recover_locks error %d", error);
158 goto fail; 158 goto fail;
159 } 159 }
160 160
@@ -162,11 +162,11 @@ static int ls_recover(struct dlm_ls *ls, struct dlm_recover *rv)
162 162
163 error = dlm_recover_locks_wait(ls); 163 error = dlm_recover_locks_wait(ls);
164 if (error) { 164 if (error) {
165 log_debug(ls, "dlm_recover_locks_wait error %d", error); 165 log_rinfo(ls, "dlm_recover_locks_wait error %d", error);
166 goto fail; 166 goto fail;
167 } 167 }
168 168
169 log_debug(ls, "dlm_recover_locks %u in", 169 log_rinfo(ls, "dlm_recover_locks %u in",
170 ls->ls_recover_locks_in); 170 ls->ls_recover_locks_in);
171 171
172 /* 172 /*
@@ -186,7 +186,7 @@ static int ls_recover(struct dlm_ls *ls, struct dlm_recover *rv)
186 186
187 error = dlm_recover_locks_wait(ls); 187 error = dlm_recover_locks_wait(ls);
188 if (error) { 188 if (error) {
189 log_debug(ls, "dlm_recover_locks_wait error %d", error); 189 log_rinfo(ls, "dlm_recover_locks_wait error %d", error);
190 goto fail; 190 goto fail;
191 } 191 }
192 } 192 }
@@ -205,7 +205,7 @@ static int ls_recover(struct dlm_ls *ls, struct dlm_recover *rv)
205 205
206 error = dlm_recover_done_wait(ls); 206 error = dlm_recover_done_wait(ls);
207 if (error) { 207 if (error) {
208 log_debug(ls, "dlm_recover_done_wait error %d", error); 208 log_rinfo(ls, "dlm_recover_done_wait error %d", error);
209 goto fail; 209 goto fail;
210 } 210 }
211 211
@@ -217,25 +217,25 @@ static int ls_recover(struct dlm_ls *ls, struct dlm_recover *rv)
217 217
218 error = enable_locking(ls, rv->seq); 218 error = enable_locking(ls, rv->seq);
219 if (error) { 219 if (error) {
220 log_debug(ls, "enable_locking error %d", error); 220 log_rinfo(ls, "enable_locking error %d", error);
221 goto fail; 221 goto fail;
222 } 222 }
223 223
224 error = dlm_process_requestqueue(ls); 224 error = dlm_process_requestqueue(ls);
225 if (error) { 225 if (error) {
226 log_debug(ls, "dlm_process_requestqueue error %d", error); 226 log_rinfo(ls, "dlm_process_requestqueue error %d", error);
227 goto fail; 227 goto fail;
228 } 228 }
229 229
230 error = dlm_recover_waiters_post(ls); 230 error = dlm_recover_waiters_post(ls);
231 if (error) { 231 if (error) {
232 log_debug(ls, "dlm_recover_waiters_post error %d", error); 232 log_rinfo(ls, "dlm_recover_waiters_post error %d", error);
233 goto fail; 233 goto fail;
234 } 234 }
235 235
236 dlm_recover_grant(ls); 236 dlm_recover_grant(ls);
237 237
238 log_debug(ls, "dlm_recover %llu generation %u done: %u ms", 238 log_rinfo(ls, "dlm_recover %llu generation %u done: %u ms",
239 (unsigned long long)rv->seq, ls->ls_generation, 239 (unsigned long long)rv->seq, ls->ls_generation,
240 jiffies_to_msecs(jiffies - start)); 240 jiffies_to_msecs(jiffies - start));
241 mutex_unlock(&ls->ls_recoverd_active); 241 mutex_unlock(&ls->ls_recoverd_active);
@@ -245,7 +245,7 @@ static int ls_recover(struct dlm_ls *ls, struct dlm_recover *rv)
245 245
246 fail: 246 fail:
247 dlm_release_root_list(ls); 247 dlm_release_root_list(ls);
248 log_debug(ls, "dlm_recover %llu error %d", 248 log_rinfo(ls, "dlm_recover %llu error %d",
249 (unsigned long long)rv->seq, error); 249 (unsigned long long)rv->seq, error);
250 mutex_unlock(&ls->ls_recoverd_active); 250 mutex_unlock(&ls->ls_recoverd_active);
251 return error; 251 return error;