linux/drivers/scsi/mpt2sas
Kashyap, Desai 11e1b961ab [SCSI] mpt2sas: Correct resizing calculation for max_queue_depth
The ioc->hba_queue_depth is not properly resized when the controller
firmware reports that it supports more outstanding IO than what can be fit
inside the reply descriptor pool depth. This is reproduced by setting the
controller global credits larger than 30,000. The bug results in an
incorrect sizing of the queues. The fix is to resize the queue_size by
dividing queue_diff by two.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Cc: stable@kernel.org
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2011-01-24 09:22:24 -06:00
..
mpi [SCSI] mpt2sas: MPI 2.0 Header updated 2010-12-21 12:24:05 -06:00
Kconfig [SCSI] mpt2sas: Copyright 2010. 2010-04-11 09:24:02 -05:00
Makefile [SCSI] mpt2sas v00.100.11.15 2009-03-13 16:08:49 -05:00
mpt2sas_base.c [SCSI] mpt2sas: Correct resizing calculation for max_queue_depth 2011-01-24 09:22:24 -06:00
mpt2sas_base.h [SCSI] mpt2sas: Bump version 07.100.00.00 2010-12-21 12:24:09 -06:00
mpt2sas_config.c [SCSI] mpt2sas: driver fails to recover from injected PCIe bus errors 2010-07-27 12:04:03 -05:00
mpt2sas_ctl.c [SCSI] mpt2sas: Removed compiler warnnings when logging is disabled 2010-12-21 12:24:02 -06:00
mpt2sas_ctl.h [SCSI] mpt2sas: Copyright 2010. 2010-04-11 09:24:02 -05:00
mpt2sas_debug.h [SCSI] mpt2sas: Copyright 2010. 2010-04-11 09:24:02 -05:00
mpt2sas_scsih.c [SCSI] mpt2sas: fix internal device reset for older firmware prior to MPI Rev K 2011-01-24 09:15:38 -06:00
mpt2sas_transport.c [SCSI] mpt2sas: Modify code to support Expander switch 2010-12-21 12:24:05 -06:00