diff options
author | Mahesh Rajashekhara <[email protected]> | 2018-04-17 17:03:12 +0530 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2018-04-18 23:37:40 -0400 |
commit | 505aa4b6a8834a2300971c5220c380c3271ebde3 (patch) | |
tree | e6ea517ca16fa8fe10869bfb6e7333b7b03408dc /lib/memory-notifier-error-inject.c | |
parent | fb1633d56b0025233ed3dc49b44544748d509d9d (diff) |
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 <[email protected]>
Cc: <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions