aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libata-eh.c
diff options
context:
space:
mode:
authorzhao, forrest <forrest.zhao@intel.com>2006-06-12 00:01:34 -0400
committerJeff Garzik <jeff@garzik.org>2006-06-12 00:18:35 -0400
commit3057ac3c1a992ee135cbb7b7d1a12e58d81f0739 (patch)
tree38d83a88ee949b9db8f6655f90f98d88f8a5f2fd /drivers/scsi/libata-eh.c
parent39b07ce6d9f7cd4da8567baed844801e0aaa7b1a (diff)
[PATCH] Snoop SET FEATURES - WRITE CACHE ENABLE/DISABLE command(v5)
This patch makes libata snoop 'SET FEATURES - WRITE CACHE ENABLE/DISABLE' command, executing requisite revalidation processes to update cached data. Signed-off-by: Forrest Zhao <forrest.zhao@intel.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/scsi/libata-eh.c')
-rw-r--r--drivers/scsi/libata-eh.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/libata-eh.c b/drivers/scsi/libata-eh.c
index 6285257a890d..f82799e22588 100644
--- a/drivers/scsi/libata-eh.c
+++ b/drivers/scsi/libata-eh.c
@@ -1554,6 +1554,9 @@ static int ata_eh_revalidate_and_attach(struct ata_port *ap,
1554 if (rc) 1554 if (rc)
1555 break; 1555 break;
1556 1556
1557 /* schedule the scsi_rescan_device() here */
1558 queue_work(ata_aux_wq, &(ap->scsi_rescan_task));
1559
1557 ehc->i.action &= ~ATA_EH_REVALIDATE; 1560 ehc->i.action &= ~ATA_EH_REVALIDATE;
1558 } else if (dev->class == ATA_DEV_UNKNOWN && 1561 } else if (dev->class == ATA_DEV_UNKNOWN &&
1559 ehc->tries[dev->devno] && 1562 ehc->tries[dev->devno] &&