blk_update_request — Special helper function for request stacking drivers
|struct request * req,|
|unsigned int nr_bytes|
the request being processed
0 for success, <
0 for error
number of bytes to complete
Ends I/O on a number of bytes attached to
req, but doesn't complete
the request structure even if
req doesn't have leftover.
req has leftover, sets it up for the next range of segments.
This special helper function is only for request stacking drivers (e.g. request-based dm) so that they can handle partial completion. Actual device drivers should use blk_end_request instead.
Passing the result of
false return from this function.