Date: Fri, 25 Apr 2003 16:47:50 -0600 From: drew@PoohSticks.ORG To: freebsd-hackers@freebsd.org Subject: Problems with AIO? Message-ID: <200304252247.h3PMlpd17574@revolt.poohsticks.org>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304252247.h3PMlpd17574>