Skip to content

Commit

Permalink
isci: Remove excessive log noise with expander hot-unplug
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dave Jiang authored and Dan Williams committed Jul 3, 2011
1 parent d37ee7e commit d2d6143
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions drivers/scsi/isci/task.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d2d6143

Please sign in to comment.