.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "BLK_CONGESTION_WAIT" "" "06 October 2005" "" ""
.SH NAME
blk_congestion_wait \- wait for a queue to become uncongested
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void blk_congestion_wait (int \fIrw\fB, long \fItimeout\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIrw\fB\fR
READ or WRITE
.TP
\fB\fItimeout\fB\fR
timeout in jiffies
.SH "DESCRIPTION"
.PP
Waits for up to \fItimeout\fR jiffies for a queue (any queue) to exit congestion.
If no queues are congested then just wait for the next request to be
returned.