diff options
author | Christoph Hellwig <hch@lst.de> | 2015-10-03 19:16:07 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-22 14:37:53 -0700 |
commit | c3dadb26a96bd1895a6ab69e0042a52014b7986a (patch) | |
tree | 805582fac1c030f80b5748f5b293bfda21c7d557 /fs/ext3 | |
parent | 613df159a3db2421407d69ba4473bf4830060347 (diff) | |
download | lwn-c3dadb26a96bd1895a6ab69e0042a52014b7986a.tar.gz lwn-c3dadb26a96bd1895a6ab69e0042a52014b7986a.zip |
3w-9xxx: don't unmap bounce buffered commands
commit 15e3d5a285ab9283136dba34bbf72886d9146706 upstream.
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/ext3')
0 files changed, 0 insertions, 0 deletions