linux/drivers/scsi/mpt2sas
nagalakshmi.nandigama@lsi.com aff132d95f [SCSI] mpt2sas : Fix for memory allocation error for large host credits
The amount of memory required for tracking chain buffers is rather
large, and when the host credit count is big, memory allocation
failure occurs inside __get_free_pages.

The fix is to limit the number of chains to 100,000.  In addition,
the number of host credits is limited to 30,000 IOs. However this
limitation can be overridden this using the command line option
max_queue_depth.  The algorithm for calculating the
reply_post_queue_depth is changed so that it is equal to
(reply_free_queue_depth + 16), previously it was (reply_free_queue_depth * 2).

Signed-off-by: Nagalakshmi Nandigama <nagalakshmi.nandigama@lsi.com>
Cc: stable@kernel.org
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2011-12-15 10:57:39 +04:00
..
mpi [SCSI] mpt2sas: MPI next revision header update 2011-12-15 10:57:38 +04:00
Kconfig [SCSI] mpt2sas: Copyright 2010. 2010-04-11 09:24:02 -05:00
Makefile
mpt2sas_base.c [SCSI] mpt2sas : Fix for memory allocation error for large host credits 2011-12-15 10:57:39 +04:00
mpt2sas_base.h [SCSI] mpt2sas: Added support for customer specific branding 2011-12-15 10:57:33 +04:00
mpt2sas_config.c [SCSI] mpt2sas: Fix for Panic when inactive volume is tried deleting 2011-10-30 12:56:55 +04:00
mpt2sas_ctl.c [SCSI] mpt2sas: Rearrange the the code so that the completion queues are initialized prior to sending the request to controller firmware 2011-12-15 10:57:32 +04:00
mpt2sas_ctl.h [SCSI] mpt2sas : WarpDrive New product SSS6200 support added 2011-05-01 10:36:54 -05:00
mpt2sas_debug.h [SCSI] mpt2sas: Fixed Big Indian Issues on 32 bit PPC 2011-06-29 16:07:00 -05:00
mpt2sas_scsih.c [SCSI] mpt2sas : Fix for memory allocation error for large host credits 2011-12-15 10:57:39 +04:00
mpt2sas_transport.c [SCSI] mpt2sas: Rearrange the the code so that the completion queues are initialized prior to sending the request to controller firmware 2011-12-15 10:57:32 +04:00