2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 21:54:06 +08:00
linux-next/drivers/scsi/lpfc
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
..
lpfc_attr.c lpfc: fix low priority issues from fortify source code scan 2014-09-16 09:10:12 -07:00
lpfc_bsg.c lpfc: fix low priority issues from fortify source code scan 2014-09-16 09:10:12 -07:00
lpfc_bsg.h lpfc: Update Copyright on changed files from 8.3.45 patches 2014-06-02 18:29:09 +02:00
lpfc_compat.h
lpfc_crtn.h lpfc: fix quarantined XRI recovery qualifier state in link bounce 2014-09-16 09:10:09 -07:00
lpfc_ct.c lpfc: fix low priority issues from fortify source code scan 2014-09-16 09:10:12 -07:00
lpfc_debugfs.c lpfc: fix low priority issues from fortify source code scan 2014-09-16 09:10:12 -07:00
lpfc_debugfs.h
lpfc_disc.h lpfc: fix race between LOGO/PLOGI handling causing NULL pointer 2014-09-16 09:10:10 -07:00
lpfc_els.c lpfc: fix low priority issues from fortify source code scan 2014-09-16 09:10:12 -07:00
lpfc_hbadisc.c lpfc: fix low priority issues from fortify source code scan 2014-09-16 09:10:12 -07:00
lpfc_hw4.h lpfc: Update Copyright on changed files from 8.3.45 patches 2014-06-02 18:29:09 +02:00
lpfc_hw.h lpfc: Update Copyright on changed files from 8.3.45 patches 2014-06-02 18:29:09 +02:00
lpfc_init.c lpfc: fix low priority issues from fortify source code scan 2014-09-16 09:10:12 -07:00
lpfc_logmsg.h [SCSI] lpfc 8.3.39: Fixed BlockGuard error reporting 2013-05-02 12:38:02 -07:00
lpfc_mbox.c lpfc: use dma_zalloc_coherent 2014-09-16 09:10:06 -07:00
lpfc_mem.c lpfc: Update Copyright on changed files from 8.3.45 patches 2014-06-02 18:29:09 +02:00
lpfc_nl.h
lpfc_nportdisc.c lpfc: fix high priority issues from fortify source code scan 2014-09-16 09:10:12 -07:00
lpfc_scsi.c scsi: don't set tagging state from scsi_adjust_queue_depth 2014-11-12 11:19:43 +01:00
lpfc_scsi.h lpfc: Update Copyright on changed files from 8.3.45 patches 2014-06-02 18:29:09 +02:00
lpfc_sli4.h lpfc: fix high priority issues from fortify source code scan 2014-09-16 09:10:12 -07:00
lpfc_sli.c lpfc: fix for handling unmapped ndlp in target reset handler 2014-09-16 09:10:13 -07:00
lpfc_sli.h lpfc: fix locking issues with abort data paths 2014-09-16 09:10:11 -07:00
lpfc_version.h lpfc: update lpfc version to driver version 10.4.8000.0 2014-09-16 09:10:14 -07:00
lpfc_vport.c [SCSI] lpfc 8.3.41: Update copyrights for 8.3.41 modifications 2013-08-23 13:25:44 -04:00
lpfc_vport.h [SCSI] lpfc 8.3.39: Fixed VPI allocation issues after firmware dump is performed 2013-05-02 12:37:45 -07:00
lpfc.h lpfc: Update Copyright on changed files from 8.3.45 patches 2014-06-02 18:29:09 +02:00
Makefile