Disable asynchronous aborts for SATA devices
authorHannes Reinecke <hare@suse.de>
Wed, 10 Jan 2018 07:34:02 +0000 (08:34 +0100)
committerPeter Michael Green <plugwash@raspbian.org>
Wed, 7 Feb 2018 23:32:32 +0000 (23:32 +0000)
commite71bdb3c14325648a9b436541ef4c8cf7c7c0aae
treeb83c4112c00b5554e1e510f3c85edca007deb27e
parentdf9c46451310165de683a94120a68a888d2889d5
Disable asynchronous aborts for SATA devices

Handling CD-ROM devices from libsas is decidedly odd, as libata
relies on SCSI EH to be started to figure out that no medium is
present.
So we cannot do asynchronous aborts for SATA devices.

Fixes: 909657615d9 ("scsi: libsas: allow async aborts")
Cc: <stable@vger.kernel.org> # 4.12+
Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Tested-by: Yves-Alexis Perez <corsac@debian.org>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name libsas-Disable-asynchronous-aborts-for-SATA-devices.patch
drivers/scsi/libsas/sas_scsi_host.c