Skip to content
Commit e026a3f9 authored by Michael Wu's avatar Michael Wu Committed by Ulf Hansson
Browse files

mmc: mmc-hsq: Use fifo to dispatch mmc_request



Current next_tag selection will cause a large delay in some requests and
destroy the scheduling results of the block scheduling layer. Because the
issued mrq tags cannot ensure that each time is sequential, especially when
the IO load is heavy. In the fio performance test, we found that 4k random
read data was sent to mmc_hsq to start calling request_atomic It takes
nearly 200ms to process the request, while mmc_hsq has processed thousands
of other requests. So we use fifo here to ensure the first in, first out
feature of the request and avoid adding additional delay to the request.

Reviewed-by: default avatarWenchao Chen <wenchao.chen@unisoc.com>
Signed-off-by: default avatarMichael Wu <michael@allwinnertech.com>
Link: https://lore.kernel.org/r/20221128093847.22768-1-michael@allwinnertech.com


Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 4f431a04
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment