I've a problem with aiowrite (and aio_write) on Solaris 2.8.
The problem is my program is successfully reading and writing
asynchronously to a socket, but after a while aiowait (or
aio_suspend) fails to return the completion notification for
one of my aiowrite requests.
Looking at truss (and tcpdump output), the problem is that the
pwrite64 call just doesn't complete.
The weird thing is, if I nanosleep for a short while after
posting the aiowrite request, everything runs smoothly.
Since the test client I'm using is MSIE, I doubt that the client
is doing anything wrong (I also get the same results with a
hand-coded test client).