diff options
author | Boaz Harrosh <bharrosh@panasas.com> | 2008-05-26 04:31:19 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-07-12 09:22:23 -0400 |
commit | 30e9ba9f2001f45960507f1963551311a67d0209 (patch) | |
tree | 6445dc94b672e8647697582c59d17de70b4c23ec /drivers/scsi/iscsi_tcp.c | |
parent | 8f333991ba8479fe8a9d72aea978db415e3c2f2a (diff) |
[SCSI] iscsi_tcp: Enable any size command
Let through upto the largest command of 260 defined by the scsi standard.
iscsi core supports this already. Now that the scsi-ml supports it we can
start using large commands.
[jejb:rejections fixed up]
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Acked-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/iscsi_tcp.c')
-rw-r--r-- | drivers/scsi/iscsi_tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/iscsi_tcp.c b/drivers/scsi/iscsi_tcp.c index 7c4ee39a1c43..0bd8b3dc3c19 100644 --- a/drivers/scsi/iscsi_tcp.c +++ b/drivers/scsi/iscsi_tcp.c | |||
@@ -1864,7 +1864,7 @@ iscsi_tcp_session_create(struct iscsi_endpoint *ep, uint16_t cmds_max, | |||
1864 | shost->max_lun = iscsi_max_lun; | 1864 | shost->max_lun = iscsi_max_lun; |
1865 | shost->max_id = 0; | 1865 | shost->max_id = 0; |
1866 | shost->max_channel = 0; | 1866 | shost->max_channel = 0; |
1867 | shost->max_cmd_len = 16; | 1867 | shost->max_cmd_len = SCSI_MAX_VARLEN_CDB_SIZE; |
1868 | shost->can_queue = cmds_max; | 1868 | shost->can_queue = cmds_max; |
1869 | 1869 | ||
1870 | if (iscsi_host_add(shost, NULL)) | 1870 | if (iscsi_host_add(shost, NULL)) |