Hi, I might be mistaken but isn't the result being put into r and r is later checked: https://github.com/axboe/fio/blob/565e784df05c2529479eed8a38701a33b01894bd/engines/libaio.c#L164 ? On 28 March 2017 at 19:03, Scott Forman (scforman) <scforman@xxxxxxxxx> wrote: > Hi, > > I am trying to determine how fio detects write errors when the ioengine is set to libaio. > > From a code example on stack overflow, linux-kernel-aio-functionality, it appears that they can be detected by examining the events returned from io_getevents(). > > But I do not see any code in libaio.c that examines the events returned from io_getevents(). > > Can you verify that fio does check for write errors for engine libaio, and if so, where that error checking is done? > > Thanks in advance! > > Sincerely, > > Scott Forman > > > -- Sitsofe | http://sucs.org/~sits/ -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html