Refactoring asynchronous I/O

John Baldwin jhb at freebsd.org
Tue Feb 16 17:20:36 UTC 2016


On Thursday, February 11, 2016 11:32:38 PM Jilles Tjoelker wrote:
> 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].

Ok.  I've done some further cleanups and posted a commit candidate at
https://reviews.freebsd.org/D5289 for anyone else who is interested.

-- 
John Baldwin


More information about the freebsd-arch mailing list