]> 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)
commitfaa35e0a31442d2d52cc5df76e1931eaef3a7340
tree5b02f6cc1daaaf79add184033aa31d399e8909ca
parentaa66fabf4729f13ec3bf1c948241e9ce46f819e8
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