blk_end_bidi_request (9) Linux Manual Page
blk_end_bidi_request – Complete a bidi request
Synopsis
-
bool blk_end_bidi_request(struct requestrq* , interror, unsigned intnr_bytes, unsigned intbidi_bytes);
Arguments
rq
-
- the request to complete
error
0for success, <0for error
nr_bytes
- number of bytes to complete rq
bidi_bytes
- number of bytes to complete rq->next_rq
Description
Ends I/O on a number of bytes attached to rq and rq->next_rq. Drivers that supports bidi can safely call this member for any type of request, bidi or uni. In the later case bidi_bytes is just ignored.
Return
false – we are done with this request true – still buffers pending for this request
