What kinds of i/o error returns when remove disk abnormally?

  aio, c++, disk-io, linux

What kinds of i/o error returns when remove disk abnormally(physically)?

I use linux aio functions to i/o files.

If I remove disk abnormally after "io_submit(control blocks with i/o infos)",

suspend aio(io_getevents) will return events with EBADF or EDISK? or something else?

It’s hard to test on cloud, so I ask for u guys.

Source: Windows Questions C++

LEAVE A COMMENT