other versions
__BLK_END_REQUEST_CU(9) | Block Devices | __BLK_END_REQUEST_CU(9) |
NAME¶
__blk_end_request_cur - Helper function to finish the current request chunk.
SYNOPSIS¶
bool __blk_end_request_cur(struct request * rq, int error);
ARGUMENTS¶
struct request * rq
the request to finish the current chunk for
int error
0 for success, < 0 for error
DESCRIPTION¶
Complete the current consecutively mapped chunk from rq. Must be called with queue lock held.
RETURN¶
false - we are done with this request true - still buffers pending for this request
COPYRIGHT¶
June 2017 | Kernel Hackers Manual 4.11 |