summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorMahesh Rajashekhara <mahesh.rajashekhara@microsemi.com>2018-04-17 17:03:12 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-01 12:58:19 -0700
commitb23b4174275d397281023703ce19ff793e6dfd98 (patch)
tree729ae148b6d2a5f1d3155d948b82cb0f91808d0b /block
parenta5f4276787d63f726b751d80b5b51f0c8d4d0384 (diff)
scsi: sd: Defer spinning up drive while SANITIZE is in progress
commit 505aa4b6a8834a2300971c5220c380c3271ebde3 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions