blk_end_request - Helper function for drivers to complete the request.
2. SYNOPSIS ▲
bool blk_end_request(struct request * rq , int error , unsigned int nr_bytes );
3. ARGUMENTS ▲
the request being processed
0 for success, < 0 for error
number of bytes to complete
4. DESCRIPTION ▲
Ends I/O on a number of bytes attached to rq. If rq has leftover, sets it up for the next range of segments.
5. RETURN ▲
false - we are done with this request true - still buffers pending for this request
6. COPYRIGHT ▲