linux_dsm_epyc7002/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
..
bfa_core.c [SCSI] bfa: Fix for bcu or hcm faa query hang 2013-12-19 07:39:05 -08:00
bfa_cs.h [SCSI] bfa: Make changes to FCXP resource management. 2012-09-24 12:10:56 +04:00
bfa_defs_fcs.h [SCSI] bfa: Add support to register node symbolic name with name server 2012-09-24 12:10:57 +04:00
bfa_defs_svc.h [SCSI] bfa: firmware statistics update 2013-06-26 15:07:16 -07:00
bfa_defs.h [SCSI] bfa: Firmware patch simplification 2013-12-19 07:39:04 -08:00
bfa_fc.h [SCSI] bfa: change FC_ELS_TOV to 20sec 2013-12-19 07:39:05 -08:00
bfa_fcbuild.c [SCSI] bfa: Add support for FC Arbitrated Loop topology. 2012-10-07 11:03:50 +01:00
bfa_fcbuild.h [SCSI] bfa: Add support to register node symbolic name with name server 2012-09-24 12:10:57 +04:00
bfa_fcpim.c [SCSI] bfa: Fix WARN_ON condition check 2013-06-26 11:45:51 -07:00
bfa_fcpim.h [SCSI] bfa: Add support for IO throttling at port level 2012-10-07 11:21:29 +01:00
bfa_fcs_fcpim.c [SCSI] bfa: Add support for max target ports discovery 2012-09-24 12:10:57 +04:00
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 [SCSI] bfa: Fix bug_on condition in RPSC rsp handling 2013-06-26 16:47:36 -07:00
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_hw_cb.c
bfa_hw_ct.c
bfa_ioc_cb.c [SCSI] bfa: Firmware patch simplification 2013-12-19 07:39:04 -08:00
bfa_ioc_ct.c [SCSI] bfa: kdump fix on 815 and 825 adapters 2013-06-26 13:12:19 -07:00
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_modules.h [SCSI] bfa: Add support to read/update the FRU data. 2012-10-07 11:26:53 +01:00
bfa_plog.h
bfa_port.c [SCSI] bfa: Add diagnostic port (D-Port) support 2012-10-07 11:17:27 +01:00
bfa_port.h [SCSI] bfa: Add diagnostic port (D-Port) support 2012-10-07 11:17:27 +01:00
bfa_svc.c [SCSI] bfa: Observed auto D-port mode instead of manual 2013-12-19 07:39:05 -08:00
bfa_svc.h [SCSI] bfa: Add dynamic diagnostic port support 2013-06-26 11:44:20 -07:00
bfa.h [SCSI] bfa: Revised Fabric Assigned Address(FAA) feature implementation. 2012-03-28 09:55:22 +01: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 bfa: switch to fixed_size_llseek() 2013-06-29 12:57:32 +04:00
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 [SCSI] bfa: Fix to set vport FC host sysfs entries 2012-05-22 11:06:29 +01:00
bfad.c bfa: Use pci_enable_msix_exact() instead of pci_enable_msix() 2014-07-29 08:38:52 -04:00
bfi_ms.h [SCSI] bfa: Support for FC BB credit recovery 2013-06-26 11:40:12 -07:00
bfi_reg.h [SCSI] bfa: Flash Controller PLL initialization fixes 2012-10-07 11:12:12 +01:00
bfi.h [SCSI] bfa: Observed auto D-port mode instead of manual 2013-12-19 07:39:05 -08:00
Makefile