OpenCloudOS-Kernel/drivers/scsi/mpt2sas
Mike Christie e881a172da [SCSI] modify change_queue_depth to take in reason why it is being called
This patch modifies scsi_host_template->change_queue_depth so that
it takes an argument indicating why it is being called. This will be
used so that if a LLD needs to do some extra processing when
handling queue fulls or later ramp ups, it can do so.

This is a simple port of the drivers setting a change_queue_depth
callback. In the patch I just have these LLDs adjust the queue depth
if the user was requesting it.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>

[Vasu.Dev: v2
	Also converted pmcraid_change_queue_depth and then verified
all modules compile  using "make allmodconfig" for any new build
warnings on X86_64.

	Updated original description after combing two original
patches from Mike to make this patch git bisectable.]
Signed-off-by: Vasu Dev <vasu.dev@intel.com>
[jejb: fixed up 53c700]
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2009-12-04 12:00:41 -06:00
..
mpi [SCSI] mpt2sas: Adding MPI Headers - revision L 2009-10-29 13:03:10 -04:00
Kconfig [SCSI] mpt2sas: Copyright change to 2009. 2009-10-02 09:48:15 -05:00
Makefile [SCSI] mpt2sas v00.100.11.15 2009-03-13 16:08:49 -05:00
mpt2sas_base.c [SCSI] mpt2sas : PPC (power pc) endian bug fix's 2009-10-29 13:03:15 -04:00
mpt2sas_base.h [SCSI] mpt2sas: Bump version 03.100.03.00 2009-10-29 13:03:17 -04:00
mpt2sas_config.c [SCSI] mpt2sas: Target Reset will be issued from Interrupt context. 2009-10-02 09:48:38 -05:00
mpt2sas_ctl.c [SCSI] mpt2sas : PPC (power pc) endian bug fix's 2009-10-29 13:03:15 -04:00
mpt2sas_ctl.h [SCSI] mpt2sas: Add Extended Type for Diagnostic Buffer support 2009-10-29 13:03:11 -04:00
mpt2sas_debug.h [SCSI] mpt2sas: Copyright change to 2009. 2009-10-02 09:48:15 -05:00
mpt2sas_scsih.c [SCSI] modify change_queue_depth to take in reason why it is being called 2009-12-04 12:00:41 -06:00
mpt2sas_transport.c [SCSI] mpt2sas : PPC (power pc) endian bug fix's 2009-10-29 13:03:15 -04:00