1BLK_RQ_ERR_BYTES(9) Block Devices BLK_RQ_ERR_BYTES(9)
2
3
4
6 blk_rq_err_bytes - determine number of bytes till the next failure
7 boundary
8
10 unsigned int blk_rq_err_bytes(const struct request * rq);
11
13 rq
14 request to examine
15
17 A request could be merge of IOs which require different failure
18 handling. This function determines the number of bytes which can be
19 failed from the beginning of the request without crossing into area
20 which need to be retried further.
21
23 The number of bytes to fail.
24
26 queue_lock must be held.
27
29Kernel Hackers Manual 2.6. June 2019 BLK_RQ_ERR_BYTES(9)