table of contents
other versions
- wheezy-backports 3.16.39-1+deb8u1~bpo70+1
- jessie 3.16.43-2
BLK_QUEUE_PREP_RQ(9) | Block Devices | BLK_QUEUE_PREP_RQ(9) |
NAME¶
blk_queue_prep_rq - set a prepare_request function for queueSYNOPSIS¶
void
blk_queue_prep_rq(struct request_queue * q,
prep_rq_fn * pfn);
ARGUMENTS¶
qqueue
pfn
prepare_request function
DESCRIPTION¶
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.COPYRIGHT¶
February 2017 | Kernel Hackers Manual 3.16 |