]> git.baikalelectronics.ru Git - kernel.git/commit
block: add a helper function to merge the segments
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Wed, 28 Aug 2019 12:35:42 +0000 (21:35 +0900)
committerChristoph Hellwig <hch@lst.de>
Tue, 3 Sep 2019 06:32:50 +0000 (08:32 +0200)
commit8f8d6a4949a0764ce4cdd0beabab01417f15c1df
tree5b02f6cc1daaaf79add184033aa31d399e8909ca
parent38aeb41804cbdeeb2475ee49ceeb913db6e793bb
block: add a helper function to merge the segments

This patch adds a helper function whether a queue can merge
the segments by the DMA MAP layer (e.g. via IOMMU).

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au
Signed-off-by: Christoph Hellwig <hch@lst.de>
block/blk-settings.c
include/linux/blkdev.h