1BLK_QUEUE_PREP_RQ(9) Block Devices BLK_QUEUE_PREP_RQ(9)
2
3
4
6 blk_queue_prep_rq - set a prepare_request function for queue
7
9 void blk_queue_prep_rq(struct request_queue * q, prep_rq_fn * pfn);
10
12 q
13 queue
14
15 pfn
16 prepare_request function
17
19 It's possible for a queue to register a prepare_request callback which
20 is invoked before the request is handed to the request_fn. The goal of
21 the function is to prepare a request for I/O, it can be used to build a
22 cdb from the request data for instance.
23
25Kernel Hackers Manual 3.10 June 2019 BLK_QUEUE_PREP_RQ(9)