Skip to content
Commit 38c38cb7 authored by Yoshihiro Shimoda's avatar Yoshihiro Shimoda Committed by Christoph Hellwig
Browse files

mmc: queue: use bigger segments if DMA MAP layer can merge the segments



When the max_segs of a mmc host is smaller than 512, the mmc
subsystem tries to use 512 segments if DMA MAP layer can merge
the segments, and then the mmc subsystem exposes such information
to the block layer by using blk_queue_can_use_dma_map_merging().

Signed-off-by: default avatarYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Reviewed-by: default avatarSimon Horman <horms+renesas@verge.net.au>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 45147fb5
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