[go: up one dir, main page]

|
|
Log in / Subscribe / Register

Precision to Timeout handling

Precision to Timeout handling

Posted Feb 8, 2010 18:06 UTC (Mon) by filofel (guest, #51574)
Parent article: Block layer: solid-state storage, timeouts, affinity, and more

> A block driver must register a function to handle timed-out requests

As of 2.6.31, if the rq_timed_out_fn field in the request_queue is set to NULL, then blk_add_timer() will not start the timer request when called from
blk_start_request() in blk-core.c

So not setting rq_timed_out_fn (i.e. not calling blk_queue_rq_timed_out()) seems the way to disable any timing for the requests in that queue.


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds