aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm/lockspace.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/lockspace.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/lockspace.c')
-rw-r--r--fs/dlm/lockspace.c8
1 files changed, 4 insertions, 4 deletions
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