diff options
author | 2022-05-18 14:32:27 -1000 | |
---|---|---|
committer | 2022-05-18 14:32:27 -1000 | |
commit | f993aed406eaf968ba3867a76bb46c95336a33d0 (patch) | |
tree | aa6e5e25c58d35f325ab8237b816919b5d0b9637 | |
parent | Merge tag 'io_uring-5.18-2022-05-18' of git://git.kernel.dk/linux-block (diff) | |
parent | block/mq-deadline: Set the fifo_time member also if inserting at head (diff) | |
download | linux-dev-f993aed406eaf968ba3867a76bb46c95336a33d0.tar.xz linux-dev-f993aed406eaf968ba3867a76bb46c95336a33d0.zip |
Merge tag 'block-5.18-2022-05-18' of git://git.kernel.dk/linux-block
Pull block fix from Jens Axboe:
"Just a small fix for a missing fifo time assigment for the head
insertion case in mq-deadline"
* tag 'block-5.18-2022-05-18' of git://git.kernel.dk/linux-block:
block/mq-deadline: Set the fifo_time member also if inserting at head
-rw-r--r-- | block/mq-deadline.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/mq-deadline.c b/block/mq-deadline.c index 3ed5eaf3446a..6ed602b2f80a 100644 --- a/block/mq-deadline.c +++ b/block/mq-deadline.c @@ -742,6 +742,7 @@ static void dd_insert_request(struct blk_mq_hw_ctx *hctx, struct request *rq, if (at_head) { list_add(&rq->queuelist, &per_prio->dispatch); + rq->fifo_time = jiffies; } else { deadline_add_rq_rb(per_prio, rq); |