File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,8 @@ enum class EIoResult : i64 {
103103 // for broken disk's error-log: "READ_ERROR: The read data could not be recovered from the media"
104104 NoData = 15 , // aka ENODATA: GetEvents
105105 RemoteIOError = 16 , // aka EREMOTEIO: GetEvents
106- NoSpaceLeft = 17 // aka ENOSPC: GetEvents
106+ NoSpaceLeft = 17 , // aka ENOSPC: GetEvents
107+ NoDevice = 18 , // aka ENODEV: GetEvents
107108};
108109
109110struct TAsyncIoOperationResult {
Original file line number Diff line number Diff line change @@ -223,6 +223,7 @@ class TAsyncIoContextLibaio : public IAsyncIoContext {
223223 case EILSEQ: return EIoResult::InvalidSequence;
224224 case ENODATA: return EIoResult::NoData;
225225 case EREMOTEIO: return EIoResult::RemoteIOError;
226+ case ENODEV: return EIoResult::NoDevice;
226227 default : Y_FAIL_S (PDiskInfo << " unexpected error in " << info << " , error# " << -ret
227228 << " strerror# " << strerror (-ret));
228229 }
You can’t perform that action at this time.
0 commit comments