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 c6f1ffd..c0ed1b2 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