]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] libsas: restore scan order
authorDan Williams <dan.j.williams@intel.com>
Thu, 19 Jan 2012 04:14:01 +0000 (20:14 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 29 Feb 2012 21:34:19 +0000 (15:34 -0600)
commitcd387cef4bdba94a5ff340bbf9870526c9f1eace
tree9d5d2c89b99cdf73ec3c28703d0d5514e37ec73c
parent62b8ac26ab3ce7a34e0bce6f77da557ec8b262c3
[SCSI] libsas: restore scan order

ata devices are always scanned after ssp.  Prior to the ata error
handling reworks libsas would tend to scan devices in ascending expander
phy order.  Restore this ordering by deferring ssp discovery to a
DISCE_PROBE event, and keep the probe order consistent with the
discovery order, not the placement of sata devices.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/libsas/sas_ata.c
drivers/scsi/libsas/sas_discover.c
drivers/scsi/libsas/sas_expander.c
include/scsi/sas_ata.h