]> Pileus Git - ~andy/linux/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)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 29 Jun 2011 21:15:00 +0000 (16:15 -0500)
commita3e1e55e4b5ca4d49618c592b4d10814e21e12a7
treefce4875375a44e4374fb57fa7cdfab8f74cdf2de
parentce7b1810def1e2f0101931f8f339f9d8a694cd19
[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