blk_rq_err_bytes (9) - Linux Man Pages
blk_rq_err_bytes: determine number of bytes till the next failure boundary
blk_rq_err_bytes - determine number of bytes till the next failure boundary
unsigned int blk_rq_err_bytes(const struct request
- request to examine
A request could be merge of IOs which require different failure handling. This function determines the number of bytes which can be failed from the beginning of the request without crossing into area which need to be retried further.