aio_suspend and ETIME
Does anyone know what it means when aio_suspend() fails and sets errno to
ETIME? We have a customer that is seeing this problem.
ETIME is documented as follows in intro(2)
62 ETIME
Timer expired
The timer set for a STREAMS ioctl(2) call has expired.
The cause of this error is device-specific and could
indicate either a hardware or software failure, or
perhaps a timeout value that is too short for the
specific operation. The status of the ioctl() opera-
tion is indeterminate. This is also returned in the
case of lwpcond_timedwait(2) or
cond_timedwait(3THR).
Should we treat ETIME the same as EAGAIN? Since the timeout specified to
aio_suspend() is 10 seconds it seems unlikely that the async IO would not
have completed in that timeframe (the I/Os are fairly small).
This is on Solaris 10 on SPARC.
Norm Green