Query: blk_queue_prep_rq
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
BLK_QUEUE_PREP_RQ(9) Block Devices BLK_QUEUE_PREP_RQ(9)NAMEblk_queue_prep_rq - set a prepare_request function for queueSYNOPSISvoid blk_queue_prep_rq(struct request_queue * q, prep_rq_fn * pfn);ARGUMENTSq queue pfn prepare_request functionDESCRIPTIONIt'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.COPYRIGHTKernel Hackers Manual 3.10 June 2014 BLK_QUEUE_PREP_RQ(9)