[SCSI] lpfc: Set max_sectors in host template
authorJames.Smart@Emulex.Com <James.Smart@Emulex.Com>
Sat, 25 Jun 2005 14:34:17 +0000 (10:34 -0400)
committerJames Bottomley <jejb@mulgrave.(none)>
Sat, 2 Jul 2005 22:07:57 +0000 (17:07 -0500)
commit564b2960833f8802ae2b7b7ad840f154647549c7
treeba4413981f7141f657a20f8be85b4f2592b97060
parent87f6eaffd732bc20b5a02e9f36b86f67310d8129
[SCSI] lpfc: Set max_sectors in host template

Add max_sectors to the driver host template and initialize it with
0xFFFF since the driver has no limitations on the size a transfer
contained by a scsi command and that fits within the sg_tablesize
provisioned by the driver.  This fixes a performance issue seen in
some configurations.

Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/lpfc/lpfc_scsi.c