blk_queue_prep_rq(9)

blk_queue_prep_rq9

Set a prepare_request function for queue

Usage

void blk_queue_prep_rq(struct request_queue * q, prep_rq_fn * pfn);

Arguments

q

queue

pfn

prepare_request function

Overview

It's possible for a queue to register a prepare_request callback which is invoked before the request is handed to the request_fn. The goal of the function is to prepare a request for I/O, it can be used to build a cdb from the request data for instance.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

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