]> www.infradead.org Git - users/jedix/linux-maple.git/commit
[SCSI] mpt2sas: Set max_sector count from module parameter
authorKashyap, Desai <kashyap.desai@lsi.com>
Tue, 14 Jun 2011 05:26:12 +0000 (10:56 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 16 Dec 2011 16:25:15 +0000 (11:25 -0500)
commit50506ca44b2b9924794835e83191a2976b7dcc32
tree363d088a5beccb064106e8c34bf619c7e7aeda52
parentda3f63a6ee7161c2700a929b2e3aebb58bcf755a
[SCSI] mpt2sas: Set max_sector count from module parameter

This feature is to override the default
max_sectors setting at load time, taking max_sectors as an
command line option when loading the driver.  The setting is
currently hard-coded in the driver to 8192 sectors (4MB transfers).
If max_sectors is specified at load time, minimum specified
setting will be 64, and the maximum is 8192.  The driver will
modify the setting to be on even boundary. If max_sectors is not
specified, the driver will default to 8192.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/mpt2sas/mpt2sas_scsih.c