Helper function to finish the current request chunk.
bool blk_end_request_cur(struct request * rq, int error);
rq
the request to finish the current chunk for
error
0 for success, < 0 for error
Complete the current consecutively mapped chunk from rq.
false - we are done with this request true - still buffers pending for this request