Problems with AIO?

drew at PoohSticks.ORG drew at PoohSticks.ORG
Fri Apr 25 15:47:55 PDT 2003


I have a program which needs to do multiple non-blocking disk I/Os
in parallel on raw devices, have been using pthreads with wrappers that
provide a single-threaded event driven interface, and am in the process of 
switching to AIO to get rid of some debugger/pthread interactions
and make some Windows guys happy because AIO looks more like their
async IO interface.

So, I look in the LINT config file and see this:
    # Use real implementations of the aio_* system calls.  There are numerous
    # stability issues in the current aio code that make it unsuitable for
    # inclusion on shell boxes.
    options         VFS_AIO
When I query GNATs for AIO in the single-line text fields, I get just this

    2002/01/17] kern/34017               The siginfo_t passed to the signal handling routine is not filled out for AIO

and a web search only turns up this exploit

    http://www.securiteam.com/exploits/6L00E0A3FC.html

Are there other bugs I should be aware of?

In this case, I'm only using aio_read() and aio_write() on raw disk devices.

-- 
<a href="http://www.poohsticks.org/drew/">Home Page</a>
For those who do, no explanation is necessary.  
For those who don't, no explanation is possible.


More information about the freebsd-hackers mailing list