Refactoring asynchronous I/O

Adrian Chadd adrian.chadd at gmail.com
Wed Jan 27 03:17:35 UTC 2016


On 26 January 2016 at 17:39, John Baldwin <jhb at freebsd.org> wrote:

[snip]

>
> Note that binding the AIO support to a new fileop does mean that the AIO code
> now becomes mandatory (rather than optional).  We could perhaps make the
> system calls continue to be optional if people really need that, but the guts
> of the code will now need to always be in the kernel.
>
> I'd like to hear what people think of this design.  It needs some additional
> cleanup before it is a commit candidate (and I'll see if I can't split it up
> some more if we go this route).

So this doesn't change the direct dispatch read/write to a block device, right?
That strategy path is pretty damned cheap.

Also, why's it become mandatory? I thought we had support for optional
fileops...


-a


More information about the freebsd-arch mailing list