1BLK_RQ_ERR_BYTES(9)              Block Devices             BLK_RQ_ERR_BYTES(9)
2
3
4

NAME

6       blk_rq_err_bytes - determine number of bytes till the next failure
7       boundary
8

SYNOPSIS

10       unsigned int blk_rq_err_bytes(const struct request * rq);
11

ARGUMENTS

13       rq
14           request to examine
15

DESCRIPTION

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

RETURN

23       The number of bytes to fail.
24

CONTEXT

26       queue_lock must be held.
27
29Kernel Hackers Manual 2.6.         June 2019               BLK_RQ_ERR_BYTES(9)
Impressum