IB/iser: Add change_queue_depth method

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git-commits-head@...>
Date: Friday, January 25, 2008 - 7:18 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=641062...
Commit:     6410627eb9804e541b83d220c8e914ce64475b31
Parent:     a4ef1451dfba92f51934e8331f634497b9ed3393
Author:     Erez Zilber <erezz@voltaire.com>
AuthorDate: Thu Jan 17 11:53:17 2008 +0200
Committer:  Roland Dreier <rolandd@cisco.com>
CommitDate: Fri Jan 25 14:15:43 2008 -0800

    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>
---
 drivers/infiniband/ulp/iser/iscsi_iser.c |    1 +
 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 bad8dac..dfa5a45 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 = {
 	.module                 = THIS_MODULE,
 	.name                   = "iSCSI Initiator over iSER, v." DRV_VER,
 	.queuecommand           = iscsi_queuecommand,
+	.change_queue_depth	= iscsi_change_queue_depth,
 	.can_queue		= ISCSI_DEF_XMIT_CMDS_MAX - 1,
 	.sg_tablesize           = ISCSI_ISER_SG_TABLESIZE,
 	.max_sectors		= 1024,
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
IB/iser: Add change_queue_depth method, Linux Kernel Mailing List..., (Fri Jan 25, 7:18 pm)