aio: return EAGAIN instead of EIO when out of resources
ClosedPublic

Authored by asomers on Mon, Apr 16, 4:04 PM.

Details

Summary

aio: return EAGAIN instead of EIO when out of resources

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
asomers created this revision.Mon, Apr 16, 4:04 PM
jhb accepted this revision.Mon, Apr 16, 5:58 PM

Test and change look good, just some style suggestions.

tests/sys/aio/lio_test.c
90 ↗(On Diff #41532)

Possibly stick an "old" style C block comment here to be consistent with the rest of the file?

92 ↗(On Diff #41532)

Spaces around operators perhaps?

101 ↗(On Diff #41532)

Spaces around '=' as well?

This revision is now accepted and ready to land.Mon, Apr 16, 5:58 PM
This revision was automatically updated to reflect the committed changes.