Re: [PATCH v8 03/13] libsas: async ata scanning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/10/2012 03:44 AM, Dan Williams wrote:
libsas ata error handling is already async but this does not help the
scan case.  Move initial link recovery out from under host->scan_mutex,
and delay synchronization with eh until after all port probe/recovery
work has been queued.

Device ordering is maintained with scan order by still calling
sas_rphy_add() in order of domain discovery.

Since we now scan the domain list when invoking libata-eh we need to be
careful to check for fully initialized ata ports.

Cc: Xiangliang Yu<yuxiangl@xxxxxxxxxxx>
Cc: Luben Tuikov<ltuikov@xxxxxxxxx>
Acked-by: Jack Wang<jack_wang@xxxxxxxxx>
Signed-off-by: Dan Williams<dan.j.williams@xxxxxxxxx>
---
  drivers/ata/libata-core.c           |   34 +++++++++-------
  drivers/ata/libata-scsi.c           |   13 ++++++
  drivers/ata/libata.h                |    1
  drivers/scsi/aic94xx/aic94xx_init.c |    1
  drivers/scsi/isci/init.c            |    1
  drivers/scsi/libsas/sas_ata.c       |   74 ++++++++++++++++++++++++++++++-----
  drivers/scsi/libsas/sas_discover.c  |   22 +++++-----
  drivers/scsi/libsas/sas_internal.h  |    9 ++++
  drivers/scsi/libsas/sas_scsi_host.c |   18 ---------
  drivers/scsi/mvsas/mv_init.c        |    1
  drivers/scsi/pm8001/pm8001_init.c   |    1
  include/linux/libata.h              |    1
  include/scsi/libsas.h               |    1
  include/scsi/sas_ata.h              |   12 +++---
  14 files changed, 123 insertions(+), 66 deletions(-)

Acked-by: Jeff Garzik <jgarzik@xxxxxxxxxx>



--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux