Refactoring asynchronous I/O
Jilles Tjoelker
jilles at stack.nl
Thu Feb 11 22:32:41 UTC 2016
On Wed, Feb 10, 2016 at 04:21:30PM -0800, John Baldwin wrote:
> I've pushed a new version with a vfs.aio.enable_unsafe sysctl
> (defaults to off). If you think this is ok then I'll work on cleaning
> up some of the module bits (removing the unload support mostly). I
> figure marking the syscalls as STD and removing all the helper stuff
> can be done as a followup commit to reduce extra noise in this diff
> (which is large enough on its own).
> https://github.com/freebsd/freebsd/compare/master...bsdjhb:aio_rework
> (Also, for the inital commit I will leave out the socket protocol
> hook. That can be added later.)
Looks good to me, except that the error should be [ENOTSUP] instead of
the overloaded [EINVAL].
--
Jilles Tjoelker
More information about the freebsd-arch
mailing list