diff options
Diffstat (limited to 'drivers/scsi/iscsi_tcp.c')
-rw-r--r-- | drivers/scsi/iscsi_tcp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/iscsi_tcp.c b/drivers/scsi/iscsi_tcp.c index 65df908019fd..84c4a5026bcb 100644 --- a/drivers/scsi/iscsi_tcp.c +++ b/drivers/scsi/iscsi_tcp.c | |||
@@ -1928,13 +1928,14 @@ static struct scsi_host_template iscsi_sht = { | |||
1928 | .queuecommand = iscsi_queuecommand, | 1928 | .queuecommand = iscsi_queuecommand, |
1929 | .change_queue_depth = iscsi_change_queue_depth, | 1929 | .change_queue_depth = iscsi_change_queue_depth, |
1930 | .can_queue = ISCSI_DEF_XMIT_CMDS_MAX - 1, | 1930 | .can_queue = ISCSI_DEF_XMIT_CMDS_MAX - 1, |
1931 | .sg_tablesize = ISCSI_SG_TABLESIZE, | 1931 | .sg_tablesize = 4096, |
1932 | .max_sectors = 0xFFFF, | 1932 | .max_sectors = 0xFFFF, |
1933 | .cmd_per_lun = ISCSI_DEF_CMD_PER_LUN, | 1933 | .cmd_per_lun = ISCSI_DEF_CMD_PER_LUN, |
1934 | .eh_abort_handler = iscsi_eh_abort, | 1934 | .eh_abort_handler = iscsi_eh_abort, |
1935 | .eh_device_reset_handler= iscsi_eh_device_reset, | 1935 | .eh_device_reset_handler= iscsi_eh_device_reset, |
1936 | .eh_host_reset_handler = iscsi_eh_host_reset, | 1936 | .eh_host_reset_handler = iscsi_eh_host_reset, |
1937 | .use_clustering = DISABLE_CLUSTERING, | 1937 | .use_clustering = DISABLE_CLUSTERING, |
1938 | .use_sg_chaining = ENABLE_SG_CHAINING, | ||
1938 | .slave_configure = iscsi_tcp_slave_configure, | 1939 | .slave_configure = iscsi_tcp_slave_configure, |
1939 | .proc_name = "iscsi_tcp", | 1940 | .proc_name = "iscsi_tcp", |
1940 | .this_id = -1, | 1941 | .this_id = -1, |
@@ -1974,7 +1975,7 @@ static struct iscsi_transport iscsi_tcp_transport = { | |||
1974 | .host_template = &iscsi_sht, | 1975 | .host_template = &iscsi_sht, |
1975 | .conndata_size = sizeof(struct iscsi_conn), | 1976 | .conndata_size = sizeof(struct iscsi_conn), |
1976 | .max_conn = 1, | 1977 | .max_conn = 1, |
1977 | .max_cmd_len = ISCSI_TCP_MAX_CMD_LEN, | 1978 | .max_cmd_len = 16, |
1978 | /* session management */ | 1979 | /* session management */ |
1979 | .create_session = iscsi_tcp_session_create, | 1980 | .create_session = iscsi_tcp_session_create, |
1980 | .destroy_session = iscsi_tcp_session_destroy, | 1981 | .destroy_session = iscsi_tcp_session_destroy, |