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 0 for success, < 0 for error
19
20 nr_bytes
21 number of bytes to complete
22
24 Must be called with queue lock held unlike blk_end_request.
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)