1__BLK_END_REQUEST(9) Block Devices __BLK_END_REQUEST(9)
2
3
4
6 __blk_end_request - Helper function for drivers to complete the
7 request.
8
10 bool __blk_end_request(struct request * rq, int error,
11 unsigned int nr_bytes);
12
14 rq
15 the request being processed
16
17 error
18
19 0 for success, < 0 for error
20
21 nr_bytes
22 number of bytes to complete
23
25 Must be called with queue lock held unlike blk_end_request.
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)