BLK_END_REQUEST(9) Block Devices BLK_END_REQUEST(9)NAMEblk_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
Ends I/O on a number of bytes attached to rq. If rq has leftover, sets
it up for the next range of segments.
false - we are done with this request true - still buffers pending for
COPYRIGHTKernel Hackers Manual 3.8. June 2014 BLK_END_REQUEST(9)