[PATCH][SAUCY] NVMe: Remove "process_cq did something" message (LP: #1233686)

Colin King colin.king at canonical.com
Tue Oct 1 14:02:04 UTC 2013


From: Matthew Wilcox <matthew.r.wilcox at intel.com>

BugLink: https://bugs.launchpad.net/ubuntu/+bug/1233686

I was originally intending to log the fact that the kthread had done
some work since it might help us find interrupt handling problems, but
that hasn't been done yet, and spamming the logs with this message is
just rude.

Signed-off-by: Matthew Wilcox <matthew.r.wilcox at intel.com>
(upstream cherry pick bc57a0f7a44cfcf3e9873f6c6b8dce)
Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
 drivers/block/nvme-core.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/block/nvme-core.c b/drivers/block/nvme-core.c
index ce79a59..92b4ded 100644
--- a/drivers/block/nvme-core.c
+++ b/drivers/block/nvme-core.c
@@ -1506,8 +1506,7 @@ static int nvme_kthread(void *data)
 				if (!nvmeq)
 					continue;
 				spin_lock_irq(&nvmeq->q_lock);
-				if (nvme_process_cq(nvmeq))
-					printk("process_cq did something\n");
+				nvme_process_cq(nvmeq);
 				nvme_cancel_ios(nvmeq, true);
 				nvme_resubmit_bios(nvmeq);
 				spin_unlock_irq(&nvmeq->q_lock);
-- 
1.7.10.4





More information about the kernel-team mailing list