1BLK_END_BIDI_REQUEST(9) Block Devices BLK_END_BIDI_REQUEST(9)
2
3
4
6 blk_end_bidi_request - Complete a bidi request
7
9 bool blk_end_bidi_request(struct request * rq, int error,
10 unsigned int nr_bytes,
11 unsigned int bidi_bytes);
12
14 rq
15 the request to complete
16
17 error
18 0 for success, < 0 for error
19
20 nr_bytes
21 number of bytes to complete rq
22
23 bidi_bytes
24 number of bytes to complete rq->next_rq
25
27 Ends I/O on a number of bytes attached to rq and rq->next_rq. Drivers
28 that supports bidi can safely call this member for any type of request,
29 bidi or uni. In the later case bidi_bytes is just ignored.
30
32 false - we are done with this request true - still buffers pending for
33 this request
34
36Kernel Hackers Manual 3.10 June 2019 BLK_END_BIDI_REQUEST(9)