.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "BLK_QUEUE_PREP_RQ" "" "06 October 2005" "" "" .SH NAME blk_queue_prep_rq \- set a prepare_request function for queue .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void blk_queue_prep_rq (request_queue_t * \fIq\fB, prep_rq_fn * \fIpfn\fB); \fR .SH "ARGUMENTS" .TP \fB\fIq\fB\fR queue .TP \fB\fIpfn\fB\fR prepare_request function .SH "DESCRIPTION" .PP 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.