aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorErez Zilber <erezz@voltaire.com>2008-01-17 04:53:17 -0500
committerRoland Dreier <rolandd@cisco.com>2008-01-25 17:15:43 -0500
commit6410627eb9804e541b83d220c8e914ce64475b31 (patch)
tree8ce0d4be69366fb19c2e71772d578ba065cdfd74 /drivers
parenta4ef1451dfba92f51934e8331f634497b9ed3393 (diff)
IB/iser: Add change_queue_depth method
Add a .change_queue_depth handler to the scsi_host_template in the iSER driver. iscsi_change_queue_depth was added to iscsi_tcp in order to solve the problem of queue depth which was too high for some targets. It is also applicable for iSER. Signed-off-by: Erez Zilber <erezz@voltaire.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/infiniband/ulp/iser/iscsi_iser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/iser/iscsi_iser.c b/drivers/infiniband/ulp/iser/iscsi_iser.c
index bad8dacafd10..dfa5a4544187 100644
--- a/drivers/infiniband/ulp/iser/iscsi_iser.c
+++ b/drivers/infiniband/ulp/iser/iscsi_iser.c
@@ -551,6 +551,7 @@ static struct scsi_host_template iscsi_iser_sht = {
551 .module = THIS_MODULE, 551 .module = THIS_MODULE,
552 .name = "iSCSI Initiator over iSER, v." DRV_VER, 552 .name = "iSCSI Initiator over iSER, v." DRV_VER,
553 .queuecommand = iscsi_queuecommand, 553 .queuecommand = iscsi_queuecommand,
554 .change_queue_depth = iscsi_change_queue_depth,
554 .can_queue = ISCSI_DEF_XMIT_CMDS_MAX - 1, 555 .can_queue = ISCSI_DEF_XMIT_CMDS_MAX - 1,
555 .sg_tablesize = ISCSI_ISER_SG_TABLESIZE, 556 .sg_tablesize = ISCSI_ISER_SG_TABLESIZE,
556 .max_sectors = 1024, 557 .max_sectors = 1024,