aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_transport_iscsi.c
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2006-01-13 19:05:53 -0500
committerJames Bottomley <jejb@mulgrave.(none)>2006-01-14 11:55:21 -0500
commit55e3299d9eca01fb2351c5d37e222872b7c6e0af (patch)
treeee8af84f5506c60b47d363209fc1ac7f05816974 /drivers/scsi/scsi_transport_iscsi.c
parent7b8631b53bea286b68847a939b87135198335b66 (diff)
[SCSI] iscsi: fix 4k stack iscsi setups
When we run the xmit code from queuecomand the stack trace gets too deep. The patch runs the xmit code from the scsi_host work queue. This fixes 4k stack and xfs support and should fix the st and sg stack usage bugs. 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>
Diffstat (limited to 'drivers/scsi/scsi_transport_iscsi.c')
-rw-r--r--drivers/scsi/scsi_transport_iscsi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_transport_iscsi.c b/drivers/scsi/scsi_transport_iscsi.c
index 45e31635a595..59a1c9d9d3bd 100644
--- a/drivers/scsi/scsi_transport_iscsi.c
+++ b/drivers/scsi/scsi_transport_iscsi.c
@@ -379,6 +379,7 @@ iscsi_transport_create_session(struct scsi_transport_template *scsit,
379 shost->max_lun = transport->max_lun; 379 shost->max_lun = transport->max_lun;
380 shost->max_cmd_len = transport->max_cmd_len; 380 shost->max_cmd_len = transport->max_cmd_len;
381 shost->transportt = scsit; 381 shost->transportt = scsit;
382 shost->transportt->create_work_queue = 1;
382 383
383 if (scsi_add_host(shost, NULL)) 384 if (scsi_add_host(shost, NULL))
384 goto free_host; 385 goto free_host;