Mahesh Rajashekhara 505aa4b6a8 scsi: sd: Defer spinning up drive while SANITIZE is in progress
A drive being sanitized will return NOT READY / ASC 0x4 / ASCQ
0x1b ("LOGICAL UNIT NOT READY. SANITIZE IN PROGRESS").

Prevent spinning up the drive until this condition clears.

[mkp: tweaked commit message]

Signed-off-by: Mahesh Rajashekhara <mahesh.rajashekhara@microsemi.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-04-18 23:37:40 -04:00
..
2018-04-03 17:38:39 -07:00
2018-03-15 00:35:43 -04:00
2018-04-03 17:38:39 -07:00
2018-04-03 17:38:39 -07:00
2018-04-05 15:05:53 -07:00
2017-12-18 13:55:43 -07:00
2018-04-05 15:05:53 -07:00
2018-04-03 17:38:39 -07:00
2018-04-05 15:05:53 -07:00
2017-12-04 20:32:53 -05:00
2017-12-04 20:32:53 -05:00
2017-08-25 17:21:11 -04:00
2017-08-24 22:29:06 -04:00
2018-04-03 17:38:39 -07:00
2017-08-25 17:21:10 -04:00
2018-03-12 21:16:58 -04:00
2018-04-05 14:27:02 -07:00
2018-03-19 22:54:47 -04:00
2018-04-03 17:38:39 -07:00
2017-11-14 16:23:44 -08:00
2018-04-03 17:38:39 -07:00
2017-11-14 16:23:44 -08:00
2018-04-05 15:05:53 -07:00
2018-04-03 17:38:39 -07:00
2018-01-08 22:27:32 -05:00
2018-02-11 14:34:03 -08:00
2017-12-04 20:32:53 -05:00
2018-04-03 17:38:39 -07:00