Message ID | 20201123081216.64025-1-jwi@linux.ibm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/2] block: update documentation for blk_rq_timeout() | expand |
diff --git a/block/blk-timeout.c b/block/blk-timeout.c index 1b8de0417fc1..61430575cb58 100644 --- a/block/blk-timeout.c +++ b/block/blk-timeout.c @@ -122,8 +122,8 @@ unsigned long blk_rq_timeout(unsigned long timeout) * @req: request that is about to start running. * * Notes: - * Each request has its own timer, and as it is added to the queue, we - * set up the timer. When the request completes, we cancel the timer. + * Each request has its own timeout. As a request is added to the queue, + * we start/adjust the queue's timer to keep track of the earliest timeout. */ void blk_add_timer(struct request *req) {
Requests don't have their own timers anymore, they share the queue's timer instead. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> --- block/blk-timeout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)