diff options
| author | Song Liu <[email protected]> | 2022-02-03 11:28:25 -0800 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-02-03 21:10:00 -0700 |
| commit | 2651bf680bc2ad9a078b7222b0873145ab4ece07 (patch) | |
| tree | bf28c532359259735917a29c047f7b00c80c9097 /scripts/gdb/linux/genpd.py | |
| parent | 365ab499153cdb2007d54e7e62bcbf2c67f7ab8f (diff) | |
block: introduce BLK_STS_OFFLINE
Currently, drivers reports BLK_STS_IOERR for devices that are not full
online or being removed. This behavior could cause confusion for users,
as they are not really I/O errors from the device.
Solve this issue with a new state BLK_STS_OFFLINE, which reports "device
offline error" in dmesg instead of "I/O error".
EIO is intentionally kept to not change user visible return value.
Signed-off-by: Song Liu <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/genpd.py')
0 files changed, 0 insertions, 0 deletions