Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit feff6894 authored by Jens Axboe's avatar Jens Axboe
Browse files

blk-mq: remember to start timeout handler for direct queue



Commit 07068d5b added a direct-to-hw-queue mode, but this mode
needs to remember to add the request timeout handler as well.
Without it, we don't track timeouts for these requests.

Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent c7bca418
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -1217,6 +1217,7 @@ static void blk_mq_make_request(struct request_queue *q, struct bio *bio)


		blk_mq_bio_to_request(rq, bio);
		blk_mq_bio_to_request(rq, bio);
		blk_mq_start_request(rq, true);
		blk_mq_start_request(rq, true);
		blk_add_timer(rq);


		/*
		/*
		 * For OK queue, we are done. For error, kill it. Any other
		 * For OK queue, we are done. For error, kill it. Any other