[SCSI] iscsi lib: remove qdepth param from iscsi host allocation
authorMike Christie <michaelc@cs.wisc.edu>
Thu, 5 Mar 2009 20:46:04 +0000 (14:46 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 13 Mar 2009 20:28:55 +0000 (15:28 -0500)
commit4d1083509a69a36cc1394f188b7b8956e5526a16
tree7afdc7d1e1ae88ee5199d57d3fc8952f985620b7
parent32ae763e3fce4192cd008956a340353a2e5c3192
[SCSI] iscsi lib: remove qdepth param from iscsi host allocation

The qdepth setting was useful when we needed libiscsi to verify
the setting. Now we just need to make sure if older tools
passed in zero then we need to set some default.

So this patch just has us use the sht->cmd_per_lun or if
for LLD does a host per session then we can set it on per
host basis.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/infiniband/ulp/iser/iscsi_iser.c
drivers/scsi/cxgb3i/cxgb3i_iscsi.c
drivers/scsi/iscsi_tcp.c
drivers/scsi/libiscsi.c
include/scsi/libiscsi.h