[SCSI] ibmvscsi: allow for dynamic adjustment of server request_limit
authorRobert Jennings <rcjenn@us.ibm.com>
Wed, 28 Mar 2007 17:45:46 +0000 (12:45 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sun, 1 Apr 2007 15:36:39 +0000 (10:36 -0500)
commita897ff2a6386ac4368ba41db18b626afd903f9d8
treeb88472fc877f6f85d76fe89d9d92b737e675dc6b
parenta45c863f02c808107172b4b2975e1130c7da66d6
[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>
drivers/scsi/ibmvscsi/ibmvscsi.c
drivers/scsi/ibmvscsi/ibmvscsi.h