OpenSolaris

Printable Version Enter a New Search
Bug ID 4503970
Synopsis aio_waitn is desired
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:other
Keywords
Responsible Engineer Miguel Isenberg
Reported Against 5.9
Duplicate Of
Introduced In
Commit to Fix s81_55
Fixed In s81_55
Release Fixed solaris_9(s81_55)
Related Bugs 4529010 , 4624417 , 6692931 , 4646421
Submit Date 18-September-2001
Last Update Date 24-November-2005
Description
wjt, Tue Sep 18 12:38:54 CEST 2001

The database dbwr process currently uses a combination of aio_suspend/aio_error
to figure out if an async I/O has completed. The problem with these interfaces
is that they only allow you to ask "which one of those I/Os are completed".
This results in a lot of checking. It also adds to the latency
of the dbwr process because the I/Os it is waiting for might not be the
ones which completed athe fastest. The dbwr process however is
interested in knowing about any N I/Os that have already completed. In
other words give me the fastest ones. This can easily be implemented by
returning N elements out of the done Q. There is also a request by Oracle to
implement such an interface. The interface could be similar to our Solaris
aio interface aiowait which returns one completed I/O. aio_nawait would just
returns N completed I/Os or wait until N I/Os have completed.
Work Around
N/A
Comments
N/A