Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 9574d434 authored by Song Liu's avatar Song Liu Committed by Jens Axboe
Browse files

scsi: use BLK_STS_OFFLINE for not fully online devices


The new error message for such case looks like

[  172.809565] device offline error, dev sda, sector 3138208 ...

which will not be confused with regular I/O error (BLK_STS_IOERR).

Reviewed-by: default avatarHannes Reinecke <hare@suse.de>
Signed-off-by: default avatarSong Liu <song@kernel.org>
Reviewed-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20220203192827.1370270-4-song@kernel.org


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 7d32c027
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment