[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:
committed by
James Bottomley
parent
56851698c2
commit
7cae5159dd
@ -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 {
|
||||
|
Reference in New Issue
Block a user