kernel-fxtec-pro1x/drivers/scsi/csiostor
Christoph Hellwig c8b09f6fb6 scsi: don't set tagging state from scsi_adjust_queue_depth
Remove the tagged argument from scsi_adjust_queue_depth, and just let it
handle the queue depth.  For most drivers those two are fairly separate,
given that most modern drivers don't care about the SCSI "tagged" status
of a command at all, and many old drivers allow queuing of multiple
untagged commands in the driver.

Instead we start out with the ->simple_tags flag set before calling
->slave_configure, which is how all drivers actually looking at
->simple_tags except for one worke anyway.  The one other case looks
broken, but I've kept the behavior as-is for now.

Except for that we only change ->simple_tags from the ->change_queue_type,
and when rejecting a tag message in a single driver, so keeping this
churn out of scsi_adjust_queue_depth is a clear win.

Now that the usage of scsi_adjust_queue_depth is more obvious we can
also remove all the trivial instances in ->slave_alloc or ->slave_configure
that just set it to the cmd_per_lun default.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
2014-11-12 11:19:43 +01:00
..
csio_attr.c
csio_defs.h
csio_hw.c [SCSI] csiostor: Use pcie_capability_clear_and_set_word() to simplify code 2013-09-23 17:30:03 -06:00
csio_hw.h csiostor: Use pci_enable_msix_range() instead of pci_enable_msix() 2014-09-16 09:09:56 -07:00
csio_hw_chip.h csiostor: Header file modifications for chip support and bug fixes. 2013-03-14 11:36:00 -04:00
csio_hw_t4.c csiostor: Segregate T4 adapter operations. 2013-03-14 11:36:00 -04:00
csio_hw_t5.c csiostor: Add T5 adapter operations. 2013-03-14 11:36:00 -04:00
csio_init.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
csio_init.h csiostor: Cleanup chip specific operations. 2013-03-14 11:36:00 -04:00
csio_isr.c csiostor: Use pci_enable_msix_range() instead of pci_enable_msix() 2014-09-16 09:09:56 -07:00
csio_lnode.c [SCSI] csiostor: remove unneeded memset() 2012-11-30 15:42:55 +00:00
csio_lnode.h [SCSI] csiostor: off by one error 2013-05-02 07:37:10 -07:00
csio_mb.c [SCSI] csiostor: Retain default adapter configuration in absence of config file. 2013-06-04 11:16:28 -07:00
csio_mb.h [SCSI] csiostor: Retain default adapter configuration in absence of config file. 2013-06-04 11:16:28 -07:00
csio_rnode.c csiostor: Header file modifications for chip support and bug fixes. 2013-03-14 11:36:00 -04:00
csio_rnode.h [SCSI] csiostor: off by one error 2013-05-02 07:37:10 -07:00
csio_scsi.c scsi: don't set tagging state from scsi_adjust_queue_depth 2014-11-12 11:19:43 +01:00
csio_scsi.h
csio_wr.c scsi: use pci_zalloc_consistent 2014-08-08 15:57:29 -07:00
csio_wr.h
Kconfig scsi: use 'depends' instead of 'select' for SCSI_FC_ATTRS 2014-09-16 16:55:55 -04:00
Makefile csiostor: Cleanup chip specific operations. 2013-03-14 11:36:00 -04:00
t4fw_api_stor.h RDMA/cxgb4: Fix LE hash collision bug for active open connection 2012-12-19 23:02:43 -08:00