1BLK_STOP_QUEUE(9)                Block Devices               BLK_STOP_QUEUE(9)
2
3
4

NAME

6       blk_stop_queue - stop a queue
7

SYNOPSIS

9       void blk_stop_queue(struct request_queue * q);
10

ARGUMENTS

12       q
13           The struct request_queue in question
14

DESCRIPTION

16       The Linux block layer assumes that a block driver will consume all
17       entries on the request queue when the request_fn strategy is called.
18       Often this will not happen, because of hardware limitations (queue
19       depth settings). If a device driver gets a 'queue full' response, or if
20       it simply chooses not to queue more I/O at one point, it can call this
21       function to prevent the request_fn from being called until the driver
22       has signalled it's ready to go again. This happens by calling
23       blk_start_queue to restart queue operations. Queue lock must be held.
24
26Kernel Hackers Manual 3.10         June 2019                 BLK_STOP_QUEUE(9)
Impressum