linux/drivers/scsi/bfa
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
..
Makefile
bfa.h
bfa_core.c [SCSI] bfa: Fix for bcu or hcm faa query hang 2013-12-19 07:39:05 -08:00
bfa_cs.h
bfa_defs.h [SCSI] bfa: Firmware patch simplification 2013-12-19 07:39:04 -08:00
bfa_defs_fcs.h
bfa_defs_svc.h
bfa_fc.h [SCSI] bfa: change FC_ELS_TOV to 20sec 2013-12-19 07:39:05 -08:00
bfa_fcbuild.c
bfa_fcbuild.h
bfa_fcpim.c
bfa_fcpim.h
bfa_fcs.c bfa: use ARRAY_SIZE instead of sizeof/sizeof[0] 2014-07-25 17:16:55 -04:00
bfa_fcs.h [SCSI] bfa: Fix crash when symb name set for offline vport 2013-12-03 06:56:49 -08:00
bfa_fcs_fcpim.c
bfa_fcs_lport.c [SCSI] bfa: LUN discovery issue in direct attach mode 2013-12-19 07:39:05 -08:00
bfa_fcs_rport.c
bfa_hw_cb.c
bfa_hw_ct.c
bfa_ioc.c [SCSI] bfa: Replace large udelay() with mdelay() 2014-03-19 15:04:47 -07:00
bfa_ioc.h bfa: Fix undefined bit shift on big-endian architectures with 32-bit DMA address 2014-07-25 17:16:54 -04:00
bfa_ioc_cb.c [SCSI] bfa: Firmware patch simplification 2013-12-19 07:39:04 -08:00
bfa_ioc_ct.c
bfa_modules.h
bfa_plog.h
bfa_port.c
bfa_port.h
bfa_svc.c [SCSI] bfa: Observed auto D-port mode instead of manual 2013-12-19 07:39:05 -08:00
bfa_svc.h
bfad.c bfa: Use pci_enable_msix_exact() instead of pci_enable_msix() 2014-07-29 08:38:52 -04:00
bfad_attr.c [SCSI] bfa: Fix crash when symb name set for offline vport 2013-12-03 06:56:49 -08:00
bfad_bsg.c bfa: remove useless return variables 2014-07-25 17:16:55 -04:00
bfad_bsg.h [SCSI] bfa: Firmware patch simplification 2013-12-19 07:39:04 -08:00
bfad_debugfs.c
bfad_drv.h [SCSI] bfa: Driver version upgrade to 3.2.23.0 2013-12-19 07:39:06 -08:00
bfad_im.c scsi: don't set tagging state from scsi_adjust_queue_depth 2014-11-12 11:19:43 +01:00
bfad_im.h
bfi.h [SCSI] bfa: Observed auto D-port mode instead of manual 2013-12-19 07:39:05 -08:00
bfi_ms.h
bfi_reg.h