summaryrefslogtreecommitdiffstats
path: root/sys/dev/ciss
diff options
context:
space:
mode:
authorps <ps@FreeBSD.org>2002-04-11 09:28:09 +0000
committerps <ps@FreeBSD.org>2002-04-11 09:28:09 +0000
commit48283ba193ac041d4210fc185e7494c5128ba634 (patch)
treebf483ca9179f9ee42d49eaa0e7ddb3c31a9fbc12 /sys/dev/ciss
parentbfa5faab11c8e54f807144af0a11e9924154008e (diff)
downloadFreeBSD-src-48283ba193ac041d4210fc185e7494c5128ba634.zip
FreeBSD-src-48283ba193ac041d4210fc185e7494c5128ba634.tar.gz
Fix the I/O performance issues with the ciss driver where CAM was limiting
the number of transactions the device could handle to 1. Obtained from: msmith
Diffstat (limited to 'sys/dev/ciss')
-rw-r--r--sys/dev/ciss/ciss.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c
index e40d60c..718f9d2 100644
--- a/sys/dev/ciss/ciss.c
+++ b/sys/dev/ciss/ciss.c
@@ -1999,8 +1999,9 @@ ciss_cam_init(struct ciss_softc *sc)
* Create a SIM.
*/
if ((sc->ciss_cam_sim = cam_sim_alloc(ciss_cam_action, ciss_cam_poll, "ciss", sc,
- device_get_unit(sc->ciss_dev), 1,
+ device_get_unit(sc->ciss_dev),
sc->ciss_cfg->max_outstanding_commands,
+ 1,
sc->ciss_cam_devq)) == NULL) {
ciss_printf(sc, "can't allocate CAM SIM\n");
return(ENOMEM);
OpenPOWER on IntegriCloud