blk_end_request (9) - Linux Man Pages
blk_end_request: Helper function for drivers to complete the request.
blk_end_request - Helper function for drivers to complete the request.
bool blk_end_request(struct request
*rq, int error, unsigned int nr_bytes);
- the request being processed
- 0 for success, < 0 for error
- number of bytes to complete