1BLK_END_REQUEST(9) Block Devices BLK_END_REQUEST(9)
2
3
4
6 blk_end_request - Helper function for drivers to complete the request.
7
9 bool blk_end_request(struct request * rq, int error,
10 unsigned int nr_bytes);
11
13 rq
14 the request being processed
15
16 error
17 0 for success, < 0 for error
18
19 nr_bytes
20 number of bytes to complete
21
23 Ends I/O on a number of bytes attached to rq. If rq has leftover, sets
24 it up for the next range of segments.
25
27 false - we are done with this request true - still buffers pending for
28 this request
29
31Kernel Hackers Manual 3.10 June 2019 BLK_END_REQUEST(9)