---
name: "blk_congestion_wait"
section: "9"
platform: "linux"
package: "linux-manual-2.6.18"
version: "2.6.18.dfsg.1-26etch2"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/blk_congestion_wait"
---

# blk\_congestion\_wait(9)

wait for a queue to become uncongested

## NAME

blk\_congestion\_wait - wait for a queue to become uncongested

## SYNOPSIS

**long blk\_congestion\_wait(int** *rw***, long** *timeout***);**

## ARGUMENTS

*rw*

READ or WRITE

*timeout*

timeout in jiffies

## DESCRIPTION

Waits for up to *timeout* jiffies for a queue (any queue) to exit congestion. If no queues are congested then just wait for the next request to be returned.

## COPYRIGHT
