[SCSI] mptsas : Change DEFINED value of can queue for FC and SAS devices.
authorKashyap, Desai <kashyap.desai@lsi.com>
Wed, 5 Aug 2009 07:18:44 +0000 (12:48 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 22 Aug 2009 22:52:24 +0000 (17:52 -0500)
Change DEFINED value of can queue for FC and SAS devices.

Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/message/fusion/mptbase.h
drivers/message/fusion/mptsas.c

index 1c8514dc31ca3ec51df54ca2a9711f6fb085b02f..73810fa5345616070ce7649f110f4eb2124d8d9b 100644 (file)
 /*
  *     Try to keep these at 2^N-1
  */
-#define MPT_FC_CAN_QUEUE       127
+#define MPT_FC_CAN_QUEUE       1024
 #define MPT_SCSI_CAN_QUEUE     127
+#define MPT_SAS_CAN_QUEUE      127
 
 /*
  * Set the MAX_SGE value based on user input.
index 55ff25244af44a1f2c51002ce8c78fe3b3b699e1..c03968b9e7d25066c3284cfc607eae1064f26c3a 100644 (file)
@@ -1891,7 +1891,7 @@ static struct scsi_host_template mptsas_driver_template = {
        .eh_bus_reset_handler           = mptscsih_bus_reset,
        .eh_host_reset_handler          = mptscsih_host_reset,
        .bios_param                     = mptscsih_bios_param,
-       .can_queue                      = MPT_FC_CAN_QUEUE,
+       .can_queue                      = MPT_SAS_CAN_QUEUE,
        .this_id                        = -1,
        .sg_tablesize                   = MPT_SCSI_SG_DEPTH,
        .max_sectors                    = 8192,