AIO in 10.0-RELEASE

John Baldwin jhb at freebsd.org
Mon May 23 21:41:05 UTC 2016


On Thursday, April 07, 2016 01:45:46 PM Rick Miller wrote:
> Please reply directly as I am not currently subscribed to this particular
> mailing list...
> 
> A user has been implementing AIO features in an application on FreeBSD
> 10.0-RELEASE.  They assert that, despite aio(4) stating that it is enabled
> either statically (with VFS_AIO in the kernel config) or dynamically
> (kldload), in their development environment there was no requirement for
> either of these methods of enabling AIO.  My google-foo is failing me when
> it comes to FreeBSD's AIO.
> 
> This question defies logic, but is it possible that AIO works by default in
> earlier versions of 10.0 and not in more recent version of 10.0 without any
> local system changes?
> 
> It is understood that AIO has recently been enabled by default in FreeBSD
> 10.3 and -CURRENT.  This particular scenario is applicable to 10.0.

I don't think 10.3 has enabled it by default.  All of my changes are only
in HEAD.  I think you've always had to enable aio explicitly via kldload or
VFS_AIO in a custom kernel prior to my changes in 11.

-- 
John Baldwin


More information about the freebsd-hackers mailing list