diff options
author | Goldwyn Rodrigues <rgoldwyn@suse.com> | 2015-10-12 10:42:34 -0500 |
---|---|---|
committer | Goldwyn Rodrigues <rgoldwyn@suse.com> | 2015-10-12 11:58:00 -0500 |
commit | d216711bed1a0fb6527858f32cd89ff4a6553a97 (patch) | |
tree | 8556a1b8c7e07e1bb5f8ed7aa3e185bda4858bf0 /drivers/md/md-cluster.c | |
parent | dbb64f8635f5d68192108b88759a34633a4bd558 (diff) | |
download | blackbird-obmc-linux-d216711bed1a0fb6527858f32cd89ff4a6553a97.tar.gz blackbird-obmc-linux-d216711bed1a0fb6527858f32cd89ff4a6553a97.zip |
md-cluster: Do not printk() every received message
The receive daemon prints kernel messages for every network message
received. This would fill the kernel message log with unnecessary messages.
Remove the pr_info() messages.
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Diffstat (limited to 'drivers/md/md-cluster.c')
-rw-r--r-- | drivers/md/md-cluster.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/md/md-cluster.c b/drivers/md/md-cluster.c index 28494e9f8d02..85d0a1fef807 100644 --- a/drivers/md/md-cluster.c +++ b/drivers/md/md-cluster.c @@ -363,8 +363,6 @@ static void __remove_suspend_info(struct md_cluster_info *cinfo, int slot) list_for_each_entry_safe(s, tmp, &cinfo->suspend_list, list) if (slot == s->slot) { - pr_info("%s:%d Deleting suspend_info: %d\n", - __func__, __LINE__, slot); list_del(&s->list); kfree(s); break; @@ -462,34 +460,22 @@ static void process_recvd_msg(struct mddev *mddev, struct cluster_msg *msg) { switch (msg->type) { case METADATA_UPDATED: - pr_info("%s: %d Received message: METADATA_UPDATE from %d\n", - __func__, __LINE__, msg->slot); process_metadata_update(mddev, msg); break; case RESYNCING: - pr_info("%s: %d Received message: RESYNCING from %d\n", - __func__, __LINE__, msg->slot); process_suspend_info(mddev, msg->slot, msg->low, msg->high); break; case NEWDISK: - pr_info("%s: %d Received message: NEWDISK from %d\n", - __func__, __LINE__, msg->slot); process_add_new_disk(mddev, msg); break; case REMOVE: - pr_info("%s: %d Received REMOVE from %d\n", - __func__, __LINE__, msg->slot); process_remove_disk(mddev, msg); break; case RE_ADD: - pr_info("%s: %d Received RE_ADD from %d\n", - __func__, __LINE__, msg->slot); process_readd_disk(mddev, msg); break; case BITMAP_NEEDS_SYNC: - pr_info("%s: %d Received BITMAP_NEEDS_SYNC from %d\n", - __func__, __LINE__, msg->slot); __recover_slot(mddev, msg->slot); break; default: |