Thread: [Linux1394-cvslog] rev 792 - branches/linux-2.4
Brought to you by:
aeb,
bencollins
From: SVN U. <ben...@li...> - 2003-02-17 15:08:02
|
Author: bencollins Date: 2003-02-17 10:07:29 -0500 (Mon, 17 Feb 2003) New Revision: 792 Modified: branches/linux-2.4/sbp2.c branches/linux-2.4/sbp2.h Log: Increase max outstanding commands default. Patch from Matthew Galgoci. Modified: branches/linux-2.4/sbp2.c ============================================================================== --- branches/linux-2.4/sbp2.c (original) +++ branches/linux-2.4/sbp2.c 2003-02-17 10:07:30.000000000 -0500 @@ -84,7 +84,7 @@ * sbp2_serialize_io - Serialize all I/O coming down from the scsi drivers * (0 = deserialized, 1 = serialized, default = 0) * sbp2_max_sectors, - Change max sectors per I/O supported (default = 255) - * sbp2_max_outstanding_cmds - Change max outstanding concurrent commands (default = 8) + * sbp2_max_outstanding_cmds - Change max outstanding concurrent commands (default = 64) * sbp2_max_cmds_per_lun - Change max concurrent commands per sbp2 device (default = 1) * sbp2_exclusive_login - Set to zero if you'd like to allow multiple hosts the ability * to log in at the same time. Sbp2 device must support this, @@ -402,7 +402,7 @@ * sbp2 devices attached (or if you need to do some debugging). */ MODULE_PARM(sbp2_max_outstanding_cmds,"i"); -MODULE_PARM_DESC(sbp2_max_outstanding_cmds, "Change max outstanding concurrent commands (default = 8)"); +MODULE_PARM_DESC(sbp2_max_outstanding_cmds, "Change max outstanding concurrent commands (default = 64)"); static int sbp2_max_outstanding_cmds = SBP2SCSI_MAX_OUTSTANDING_CMDS; /* Modified: branches/linux-2.4/sbp2.h ============================================================================== --- branches/linux-2.4/sbp2.h (original) +++ branches/linux-2.4/sbp2.h 2003-02-17 10:07:30.000000000 -0500 @@ -265,7 +265,7 @@ #define SBP2_CLUSTERING ENABLE_CLUSTERING #define SBP2_MAX_SG_ELEMENT_LENGTH 0xf000 #define SBP2SCSI_MAX_SCSI_IDS 16 /* Max sbp2 device instances supported */ -#define SBP2SCSI_MAX_OUTSTANDING_CMDS 8 /* Max total outstanding sbp2 commands allowed at a time! */ +#define SBP2SCSI_MAX_OUTSTANDING_CMDS 64 /* Max total outstanding sbp2 commands allowed at a time! */ #define SBP2SCSI_MAX_CMDS_PER_LUN 1 /* Max outstanding sbp2 commands per device - tune as needed */ #define SBP2_MAX_SECTORS 255 /* Max sectors supported */ |