]> git.karo-electronics.de Git - mv-sheeva.git/commit
[SCSI] libsas: disable scanning lun > 0 on ata devices
authorDan Williams <dan.j.williams@intel.com>
Tue, 20 Sep 2011 22:10:19 +0000 (15:10 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 2 Oct 2011 17:29:19 +0000 (12:29 -0500)
commit2fc62e2ac350b8f574e0a09170b350a8f2fa4a02
tree8ea7fd1c8a1897f05d8131eaca144eac4c4d0f04
parentffaac8f45bfb2dffb78179baa5740de34058eef8
[SCSI] libsas: disable scanning lun > 0 on ata devices

Currently mvsas and pm8001 have custom ->slave_alloc implementations to
achieve this.  Uplevel it for all libsas drivers as isci encounters problems
with atapi devices when scanning past lun0.

Just do what Darrick suggested [1], and limit the scan for ata devices.

[1] http://marc.info/?l=linux-scsi&m=116604101119861&w=2

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/scsi_transport_sas.c