Movatterモバイル変換


[0]ホーム

URL:


blk_cloned_rq_check_limits
Prev Chapter 14. Block Devices Next

Name

blk_cloned_rq_check_limits — Helper function to check a cloned request for new the queue limits

Synopsis

intblk_cloned_rq_check_limits(struct request_queue *q,
 struct request *rq);
 

Arguments

struct request_queue * q

the queue

struct request * rq

the request being checked

Description

rq may have been made based on weaker limitations of upper-level queues in request stacking drivers, and it may violate the limitation ofq. Since the block layer and the underlying device driver trustrq after it is inserted toq, it should be checked againstq before the insertion using this generic function.

Request stacking drivers like request-based dm may change the queue limits when retrying requests on other queues. Those requests need to be checked against the new queue limits again during dispatch.


Prev Up Next
blk_attempt_plug_merge Home blk_end_bidi_request

[8]ページ先頭

©2009-2025 Movatter.jp