Re: [PATCH 06/22] [SCSI] mpt2sas, mpt3sas: Removing uppper boundary restriction for the module parameter max_sgl_entries

From: Martin K. Petersen
Date: Fri Jan 09 2015 - 15:55:55 EST


>>>>> "Sreekanth" == Sreekanth Reddy <sreekanth.reddy@xxxxxxxxxxxxx> writes:

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

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

Reviewed-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx>

--
Martin K. Petersen Oracle Linux Engineering
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/