diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2007-12-13 13:43:39 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-01-11 19:28:48 -0500 |
commit | 66bbe0ce11c7ebe20cd1d4b5d271b2e124e223c5 (patch) | |
tree | db86d9d61e12ba37298ebaa092a81076aff643b0 /drivers/scsi/iscsi_tcp.h | |
parent | 4cd49ea1330c946db00a28819b766062716aa857 (diff) |
[SCSI] iscsi_tcp: enable sg chaining
The previous patches converted iscsi_tcp to support sg chaining.
This patch sets the proper flags and sets sg_table size to
4096. This allows fs io to be capped at max_sectors, but passthrough
IO to be limited by some other part of the kernel.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/iscsi_tcp.h')
-rw-r--r-- | drivers/scsi/iscsi_tcp.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/iscsi_tcp.h b/drivers/scsi/iscsi_tcp.h index 893cd2e1701e..ed0b991d1e72 100644 --- a/drivers/scsi/iscsi_tcp.h +++ b/drivers/scsi/iscsi_tcp.h | |||
@@ -24,9 +24,6 @@ | |||
24 | 24 | ||
25 | #include <scsi/libiscsi.h> | 25 | #include <scsi/libiscsi.h> |
26 | 26 | ||
27 | #define ISCSI_SG_TABLESIZE SG_ALL | ||
28 | #define ISCSI_TCP_MAX_CMD_LEN 16 | ||
29 | |||
30 | struct crypto_hash; | 27 | struct crypto_hash; |
31 | struct socket; | 28 | struct socket; |
32 | struct iscsi_tcp_conn; | 29 | struct iscsi_tcp_conn; |