summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-10-03 19:16:07 +0200
committerSasha Levin <sasha.levin@oracle.com>2015-10-28 03:52:26 -0400
commit4f1a98a2e0cabac1ddcd9aa83cec37526a545bac (patch)
treeef95a45ad9a3f2fc6097dca2c09f06a3ede1aa3e /lib
parentcb4b2ae6950b905c57d09ca92e953583a2430df2 (diff)
3w-9xxx: don't unmap bounce buffered commands
[ Upstream commit 15e3d5a285ab9283136dba34bbf72886d9146706 ] 3w controller don't dma map small single SGL entry commands but instead bounce buffer them. Add a helper to identify these commands and don't call scsi_dma_unmap for them. Based on an earlier patch from James Bottomley. Fixes: 118c85 ("3w-9xxx: fix command completion race") Reported-by: Tóth Attila <atoth@atoth.sote.hu> Tested-by: Tóth Attila <atoth@atoth.sote.hu> Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Adam Radford <aradford@gmail.com> Signed-off-by: James Bottomley <JBottomley@Odin.com> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions