summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/iscsi_tcp.h
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2006-01-13 18:05:47 -0600
committerJames Bottomley <jejb@mulgrave.(none)>2006-01-14 10:55:18 -0600
commit7cae5159dd2623300cf9820865bfbf6dcdb7c1b9 (patch)
tree68cd331b75515e90f79f4902de0620b293adcfd4 /drivers/scsi/iscsi_tcp.h
parent56851698c23430f0f291d6e50da344e6b414f3b9 (diff)
downloadop-kernel-dev-7cae5159dd2623300cf9820865bfbf6dcdb7c1b9.zip
op-kernel-dev-7cae5159dd2623300cf9820865bfbf6dcdb7c1b9.tar.gz
[SCSI] iscsi: add high mem support
From Mike Christie <michaelc@cs.wisc.edu> and FUJITA Tomonori <tomof@acm.org>: We cannot use page_address becuase some pages could be highmem. Instead, we can use sock_no_sendpage which does kmap for us. Signed-off-by: Alex Aizman <itn780@yahoo.com> Signed-off-by: Dmitry Yusupov <dmitry_yus@yahoo.com> Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/iscsi_tcp.h')
-rw-r--r--drivers/scsi/iscsi_tcp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/iscsi_tcp.h b/drivers/scsi/iscsi_tcp.h
index c8bb5b0..f95e61b 100644
--- a/drivers/scsi/iscsi_tcp.h
+++ b/drivers/scsi/iscsi_tcp.h
@@ -242,8 +242,8 @@ struct iscsi_session {
struct iscsi_buf {
struct scatterlist sg;
- struct kvec iov;
unsigned int sent;
+ char use_sendmsg;
};
struct iscsi_data_task {
OpenPOWER on IntegriCloud