[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>
This commit is contained in:
Mike Christie
2006-01-13 18:05:47 -06:00
committed by James Bottomley
parent 56851698c2
commit 7cae5159dd
2 changed files with 31 additions and 55 deletions

View File

@ -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 {