blk_peek_request(9)

blk_peek_request9

Peek at the top of a request queue

Usage

struct request * blk_peek_request(struct request_queue * q);

Arguments

q

request queue to peek at

Overview

Return the request at the top of q. The returned request should be started using blk_start_request before LLD starts processing it.

Return

Pointer to the request at the top of q if available. Null otherwise.

Context

queue_lock must be held.

Releases

4 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7
  3. 8
  4. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.