[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Problems with AIO?
From:       drew () PoohSticks ! ORG
Date:       2003-04-25 22:47:50
[Download RAW message or body]

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.
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic