diff options
author | Robert Jennings <rcjenn@us.ibm.com> | 2007-03-28 13:45:46 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-04-01 11:36:39 -0400 |
commit | a897ff2a6386ac4368ba41db18b626afd903f9d8 (patch) | |
tree | b88472fc877f6f85d76fe89d9d92b737e675dc6b /drivers/scsi/ibmvscsi/ibmvscsi.h | |
parent | a45c863f02c808107172b4b2975e1130c7da66d6 (diff) |
[SCSI] ibmvscsi: allow for dynamic adjustment of server request_limit
The request limit calculations used previously on the client failed to
mirror the state of the server. Additionally, when a value < 3 was provided
there could be problems setting can_queue and handling abort and reset
commands.
Signed-off-by: "Robert Jennings" <rcj@linux.vnet.ibm.com>
Signed-off-by: Santiago Leon <santil@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/ibmvscsi/ibmvscsi.h')
-rw-r--r-- | drivers/scsi/ibmvscsi/ibmvscsi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/ibmvscsi/ibmvscsi.h b/drivers/scsi/ibmvscsi/ibmvscsi.h index 5c6d93582929..77cc1d40f5bb 100644 --- a/drivers/scsi/ibmvscsi/ibmvscsi.h +++ b/drivers/scsi/ibmvscsi/ibmvscsi.h | |||
@@ -44,6 +44,8 @@ struct Scsi_Host; | |||
44 | */ | 44 | */ |
45 | #define MAX_INDIRECT_BUFS 10 | 45 | #define MAX_INDIRECT_BUFS 10 |
46 | 46 | ||
47 | #define IBMVSCSI_MAX_REQUESTS_DEFAULT 100 | ||
48 | |||
47 | /* ------------------------------------------------------------ | 49 | /* ------------------------------------------------------------ |
48 | * Data Structures | 50 | * Data Structures |
49 | */ | 51 | */ |