linux/drivers/scsi/mpt3sas
Sreekanth Reddy ad666a0f41 mpt2sas, mpt3sas: fix upper bound for the module parameter max_sgl_entries
Change Set:

1. Extended the upper boundary restriction for the module parameter
   max_sgl_entries. Earlier, the max_sgl_entries was capped at the
   SCSI_MAX_SG_SEGMENTS kernel definition. With this change, the user
   would be able to set the max_sgl_entries to any value which is
   greater than SCSI_MAX_SG_SEGMENTS and less than the minimum of
   SCSI_MAX_SG_CHAIN_SEGMENTS & hardware limit (Calculated using
   IOCFacts's MaxChainDepth).

2. Added a print for the message log whenever the user sets the
   max_sgl_entries to a value greater than SCSI_MAX_SG_SEGMENTS to
   warn about the kernel definition overriding.

Signed-off-by: Sreekanth Reddy <Sreekanth.Reddy@avagotech.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2015-01-13 16:27:26 +01:00
..
mpi mpt3sas: Copyright in driver sources is updated for year the 2014. 2014-09-16 09:14:19 -07:00
Kconfig mpt3sas: Copyright in driver sources is updated for year the 2014. 2014-09-16 09:14:19 -07:00
Makefile [SCSI] Allow MPT Fusion SAS 3.0 driver to be built into the kernel 2013-09-06 11:42:53 -07:00
mpt3sas_base.c mpt2sas, mpt3sas: fix upper bound for the module parameter max_sgl_entries 2015-01-13 16:27:26 +01:00
mpt3sas_base.h mpt2sas, mpt3sas: log exceeded temperature thresholds 2015-01-13 16:27:23 +01:00
mpt3sas_config.c mpt2sas, mpt3sas: log exceeded temperature thresholds 2015-01-13 16:27:23 +01:00
mpt3sas_ctl.c mpt3sas: Copyright in driver sources is updated for year the 2014. 2014-09-16 09:14:19 -07:00
mpt3sas_ctl.h mpt3sas: Copyright in driver sources is updated for year the 2014. 2014-09-16 09:14:19 -07:00
mpt3sas_debug.h mpt3sas: Copyright in driver sources is updated for year the 2014. 2014-09-16 09:14:19 -07:00
mpt3sas_scsih.c mpt2sas, mpt3sas: Fail the host reset initiated due to discovery related I/O timeouts at driver load time 2015-01-13 16:27:24 +01:00
mpt3sas_transport.c Revert "[SCSI] mpt3sas: Remove phys on topology change" 2014-12-04 09:58:34 +01:00
mpt3sas_trigger_diag.c mpt3sas: Copyright in driver sources is updated for year the 2014. 2014-09-16 09:14:19 -07:00
mpt3sas_trigger_diag.h mpt3sas: Copyright in driver sources is updated for year the 2014. 2014-09-16 09:14:19 -07:00