OSDN Git Service

sata_nv: don't use block layer bounce buffer
authorChristoph Hellwig <hch@lst.de>
Wed, 9 May 2018 14:01:00 +0000 (16:01 +0200)
committerTejun Heo <tj@kernel.org>
Thu, 10 May 2018 18:37:28 +0000 (11:37 -0700)
commit258c9fded4d4024fbe5fae7739d5d159f3f69697
tree3386d7c2841c8f5fa4cfacc4a4dca26e1113754c
parentdc85ca573b95e99d325ab9fbd430c52c6f67501b
sata_nv: don't use block layer bounce buffer

sata_nv sets the block bounce limit to the reduce dma mask for ATAPI
devices, which means that the iommu or swiotlb already take care of
the bounce buffering, and the block bouncing can be removed.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/sata_nv.c