other versions
- stretch 4.9.168-1
BLK_RQ_ERR_BYTES(9) | Block Devices | BLK_RQ_ERR_BYTES(9) |
NAME¶
blk_rq_err_bytes - determine number of bytes till the next failure boundarySYNOPSIS¶
unsigned int blk_rq_err_bytes(const struct request * rq);
ARGUMENTS¶
rqrequest to examine
DESCRIPTION¶
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.RETURN¶
The number of bytes to fail.CONTEXT¶
queue_lock must be held.COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |