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

NAME

6       blk_cloned_rq_check_limits - Helper function to check a cloned request
7       for new the queue limits
8

SYNOPSIS

10       int blk_cloned_rq_check_limits(struct request_queue * q,
11                                      struct request * rq);
12

ARGUMENTS

14       q
15           the queue
16
17       rq
18           the request being checked
19

DESCRIPTION

21       rq may have been made based on weaker limitations of upper-level queues
22       in request stacking drivers, and it may violate the limitation of q.
23       Since the block layer and the underlying device driver trust rq after
24       it is inserted to q, it should be checked against q before the
25       insertion using this generic function.
26
27       Request stacking drivers like request-based dm may change the queue
28       limits when retrying requests on other queues. Those requests need to
29       be checked against the new queue limits again during dispatch.
30
32Kernel Hackers Manual 3.10         June 2019           BLK_CLONED_RQ_CHECK_(9)
Impressum