diff options
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | 2019-08-28 21:35:43 +0900 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-09-03 08:32:58 +0200 |
commit | 38c38cb73223218f6eedf485280917af1f8a0af2 (patch) | |
tree | d0f929e38db453745a4574b944eca03cf474cfa0 /kernel | |
parent | 45147fb522bb459e79bdcb7504ee7ec8cfd4c12c (diff) |
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: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions