Francois Petillon <fantec@xxxxxxxxxx> writes:
> I do not know if it is linked but I could not make work
> AIO in a stable way. I patched diablo dreaderd (frontal
> news server) to allow him to access directly to a spool.
> This spool is stored on a netapp, filled by a diablo
> spooler. Dreaderd ask to Diablo where an article was
> stored and try to load it directly. The version with
> normal read is working fine. When using aio_read, it is
> working fine for a few minutes under an high load until
> the kernel starts to send signal for AIO read completion
> while aio_error returns EINPROGRESS. Any idea ?
Well, it's hard to say without looking at your code, but obvious
things which come to mind, such as are you checking the return code
from aio_read()? Also, have you setup your signal handling so you can
distinguish between aio requests? Is it possible you're getting
signals from something else?
--Chris
|