Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

aio_suspend and ETIME

807557Jan 21 2009
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 18 2009
Added on Jan 21 2009
0 comments
127 views