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 {
103
103
// for broken disk's error-log: "READ_ERROR: The read data could not be recovered from the media"
104
104
NoData = 15 , // aka ENODATA: GetEvents
105
105
RemoteIOError = 16 , // aka EREMOTEIO: GetEvents
106
- NoSpaceLeft = 17 // aka ENOSPC: GetEvents
106
+ NoSpaceLeft = 17 , // aka ENOSPC: GetEvents
107
+ NoDevice = 18 , // aka ENODEV: GetEvents
107
108
};
108
109
109
110
struct TAsyncIoOperationResult {
Original file line number Diff line number Diff line change @@ -231,6 +231,7 @@ class TAsyncIoContextLibaio : public IAsyncIoContext {
231
231
case EILSEQ: return EIoResult::InvalidSequence;
232
232
case ENODATA: return EIoResult::NoData;
233
233
case EREMOTEIO: return EIoResult::RemoteIOError;
234
+ case ENODEV: return EIoResult::NoDevice;
234
235
default : Y_FAIL_S (PDiskInfo << " unexpected error in " << info << " , error# " << -ret
235
236
<< " strerror# " << strerror (-ret));
236
237
}
You can’t perform that action at this time.
0 commit comments