diff options
author | Sunil Mushran <sunil.mushran@oracle.com> | 2006-04-27 19:41:31 -0400 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2006-06-29 18:56:26 -0400 |
commit | 781ee3e2b1ea41d56ed86ae1c85fc40b7f330205 (patch) | |
tree | 00e605613fbf589ec50399873eae1a4eed536635 /fs/ocfs2/cluster/tcp.c | |
parent | a43db30c7c614c08851a97476aeb317ca2e14475 (diff) |
ocfs2: Cleanup message prints
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/cluster/tcp.c')
-rw-r--r-- | fs/ocfs2/cluster/tcp.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/fs/ocfs2/cluster/tcp.c b/fs/ocfs2/cluster/tcp.c index 1591eb37a723..b650efa8c8be 100644 --- a/fs/ocfs2/cluster/tcp.c +++ b/fs/ocfs2/cluster/tcp.c | |||
@@ -396,8 +396,8 @@ static void o2net_set_nn_state(struct o2net_node *nn, | |||
396 | } | 396 | } |
397 | 397 | ||
398 | if (was_valid && !valid) { | 398 | if (was_valid && !valid) { |
399 | mlog(ML_NOTICE, "no longer connected to " SC_NODEF_FMT "\n", | 399 | printk(KERN_INFO "o2net: no longer connected to " |
400 | SC_NODEF_ARGS(old_sc)); | 400 | SC_NODEF_FMT "\n", SC_NODEF_ARGS(old_sc)); |
401 | o2net_complete_nodes_nsw(nn); | 401 | o2net_complete_nodes_nsw(nn); |
402 | } | 402 | } |
403 | 403 | ||
@@ -409,10 +409,10 @@ static void o2net_set_nn_state(struct o2net_node *nn, | |||
409 | * the only way to start connecting again is to down | 409 | * the only way to start connecting again is to down |
410 | * heartbeat and bring it back up. */ | 410 | * heartbeat and bring it back up. */ |
411 | cancel_delayed_work(&nn->nn_connect_expired); | 411 | cancel_delayed_work(&nn->nn_connect_expired); |
412 | mlog(ML_NOTICE, "%s " SC_NODEF_FMT "\n", | 412 | printk(KERN_INFO "o2net: %s " SC_NODEF_FMT "\n", |
413 | o2nm_this_node() > sc->sc_node->nd_num ? | 413 | o2nm_this_node() > sc->sc_node->nd_num ? |
414 | "connected to" : "accepted connection from", | 414 | "connected to" : "accepted connection from", |
415 | SC_NODEF_ARGS(sc)); | 415 | SC_NODEF_ARGS(sc)); |
416 | } | 416 | } |
417 | 417 | ||
418 | /* trigger the connecting worker func as long as we're not valid, | 418 | /* trigger the connecting worker func as long as we're not valid, |
@@ -1280,7 +1280,7 @@ static void o2net_idle_timer(unsigned long data) | |||
1280 | 1280 | ||
1281 | do_gettimeofday(&now); | 1281 | do_gettimeofday(&now); |
1282 | 1282 | ||
1283 | mlog(ML_NOTICE, "connection to " SC_NODEF_FMT " has been idle for 10 " | 1283 | printk(KERN_INFO "o2net: connection to " SC_NODEF_FMT " has been idle for 10 " |
1284 | "seconds, shutting it down.\n", SC_NODEF_ARGS(sc)); | 1284 | "seconds, shutting it down.\n", SC_NODEF_ARGS(sc)); |
1285 | mlog(ML_NOTICE, "here are some times that might help debug the " | 1285 | mlog(ML_NOTICE, "here are some times that might help debug the " |
1286 | "situation: (tmr %ld.%ld now %ld.%ld dr %ld.%ld adv " | 1286 | "situation: (tmr %ld.%ld now %ld.%ld dr %ld.%ld adv " |