wait for I/O completion
void iowait(struct buf bp);
Called by the kernel to wait for the completion
of a block I/O operation.
Pointer to the buf structure
that specifies the I/O operation.
No value is returned.
function is called by
the higher levels of the kernel I/O system
to wait for the completion of a block I/O operation.
Drivers do not generally call this function,
although it could be called from the
entry point routine if necessary.
Drivers must call the
function when the I/O operation is completed.
The calling process continues
when the I/O operation is complete.
is only used in block drivers for I/O operations
that are executed by the
entry point routine.
transfers any errors found in
u.u_error for the process indicated in the
cannot be interrupted by signals.
Context and synchronization
User or blockable
1, 2, 2mp, 3, 3mp, 4, 4mp, 5, 5mp, 6, 6mp
SVR5 DDI compatibility
functions provides similar functionality
for DDI drivers.
DDI drivers can also call
for a block that can be interrupted by a signal.
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 5 HDK - June 2005