blk_unprep_request (9) - Linux Manuals
blk_unprep_request: unprepare a request
blk_unprep_request - unprepare a request
void blk_unprep_request(struct request
- the request
This function makes a request ready for complete resubmission (or completion). It happens only after all error handling is complete, so represents the appropriate moment to deallocate any resources that were allocated to the request in the prep_rq_fn. The queue lock is held when calling this.