OSDN Git Service

on failed aio submission, set aiocb error and return value
authorRich Felker <dalias@aerifal.cx>
Tue, 11 Dec 2018 21:55:31 +0000 (16:55 -0500)
committerRich Felker <dalias@aerifal.cx>
Tue, 11 Dec 2018 21:55:31 +0000 (16:55 -0500)
commitc00cdefa1da17f60b3179704528582ef320e61b8
treec9e31359b07fb132180b243d73b0b8418f49711e
parenta9a9882fbe089a0a9f562d8ecd4c96e52b3548f1
on failed aio submission, set aiocb error and return value

it's not clear whether this is required, but it seems arguable that it
should happen. for example aio_suspend is supposed to return
immediately if any of the operations has "completed", which includes
ending with an error status asynchonously and might also be
interpreted to include doing so synchronously.
src/aio/aio.c