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
18 0 for success, < 0 for error
19
20 nr_bytes
21 number of bytes to complete
22
24 Ends I/O on a number of bytes attached to rq. If rq has leftover, sets
25 it up for the next range of segments.
26
28 false - we are done with this request true - still buffers pending for
29 this request
30
32Kernel Hackers Manual 2.6. June 2019 BLK_END_REQUEST(9)