Commit dac9a9b1 authored by Bart Van Assche's avatar Bart Van Assche Committed by Daniel Rosenberg
Browse files

UPSTREAM: block/mq-deadline: Set the fifo_time member also if inserting at head



Before commit 322cff70 the fifo_time member of requests on a dispatch
list was not used. Commit 322cff70 introduces code that reads the
fifo_time member of requests on dispatch lists. Hence this patch that sets
the fifo_time member when adding a request to a dispatch list.

Bug: 293845137
(cherry picked from commit 725f22a1)
Cc: Christoph Hellwig <hch@lst.de>
Cc: Ming Lei <ming.lei@redhat.com>
Cc: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Fixes: 322cff70 ("block/mq-deadline: Prioritize high-priority requests")
Change-Id: I2e47e7e7afd80f661703d7d3e319bf781d7f90e5
Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20220513171307.32564-1-bvanassche@acm.org


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarYunlong Xing <Yunlong.Xing@unisoc.com>
Signed-off-by: default avatarXiuhong Wang <Xiuhong.Wang@unisoc.com>
parent fcc30462
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment