[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 1c8514d..73810fa 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 55ff252..c03968b 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,