isci: Remove excessive log noise with expander hot-unplug
authorDave Jiang <dave.jiang@intel.com>
Thu, 21 Apr 2011 05:36:23 +0000 (05:36 +0000)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jul 2011 11:00:38 +0000 (04:00 -0700)
We are logging excessive output when hot unplug from expander. Moving
that to debug.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/scsi/isci/task.c

index c6f1ffd713a89ca83b7a879673cb88d2f63770ac..c0ed1b28f3e56b45b42d765ca716c778d14e980c 100644 (file)
@@ -183,13 +183,14 @@ int isci_task_execute_task(struct sas_task *task, int num, gfp_t gfp_flags)
                if (device_status != isci_ready_for_io) {
 
                        /* Forces a retry from scsi mid layer. */
-                       dev_warn(&ihost->pdev->dev,
-                                "%s: task %p: isci_host->status = %d, "
-                                "device = %p; device_status = 0x%x\n\n",
-                                __func__,
-                                task,
-                                isci_host_get_state(ihost),
-                                device, device_status);
+                       dev_dbg(&ihost->pdev->dev,
+                               "%s: task %p: isci_host->status = %d, "
+                               "device = %p; device_status = 0x%x\n\n",
+                               __func__,
+                               task,
+                               isci_host_get_state(ihost),
+                               device,
+                               device_status);
 
                        if (device_status == isci_ready) {
                                /* Indicate QUEUE_FULL so that the scsi midlayer