scsi: sr: Return appropriate error code when disk is ejected
Handle a reported media event code of 3. This indicates that the media has been removed from the drive and user intervention is required to proceed. Return DISK_EVENT_EJECT_REQUEST in that case. Link: https://lore.kernel.org/r/20210611094402.23884-1-limanyi@uniontech.com Signed-off-by:ManYi Li <limanyi@uniontech.com> Signed-off-by:
Martin K. Petersen <martin.petersen@oracle.com>
parent
1e0d4e62
-
mentioned in commit f77f9723
-
mentioned in commit b8455cb4
-
mentioned in commit 3edfd34f
-
mentioned in commit 4164c07e
-
mentioned in commit b52a4044
-
mentioned in commit e2c309e9
-
mentioned in commit 8b289e6d
-
mentioned in commit 489492b5
-
mentioned in commit 3377f2f8
-
mentioned in commit f27bc704
-
mentioned in commit 1991e004
-
mentioned in commit c5831fbf
Please register or sign in to comment