diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2012-12-05 12:08:29 +0100 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-12-05 13:01:44 -0800 |
commit | 40ff2c3b3da35dd3a00ac6722056a59b4b3f2caf (patch) | |
tree | ba5cb75ed6c6dd01b2191b35c470691e5347d35d /drivers/scsi/mpt3sas/mpi/mpi2_init.h | |
parent | 0ff8754981261a80f4b77db2536dfea92c2d4539 (diff) |
target/file: Fix 32-bit highmem breakage for SGL -> iovec mapping
This patch changes vectored file I/O to use kmap + kunmap when mapping
incoming SGL memory -> struct iovec in order to properly support 32-bit
highmem configurations. This is because an extra bounce buffer may be
required when processing scatterlist pages allocated with GFP_KERNEL.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: stable@vger.kernel.org
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_init.h')
0 files changed, 0 insertions, 0 deletions