summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2010-07-07 10:12:14 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2010-07-07 10:12:14 +0000
commit3a657a7b83be397b7d64c5517547023b41eeb40d (patch)
treed3c72aa5b8586eec384f94de3823dc20ad692f02 /sys/dev/ic
parentcf152bbddfcc4d31cd738a7ba53944796d29050c (diff)
set each disks openings to the maximum number the controller can handle.
iopools make sure resources arent overallocated, while scheduling them evenly between devices. tested by and ok jsg@
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/ciss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/ciss.c b/sys/dev/ic/ciss.c
index 530e106cfd1..db0d134426f 100644
--- a/sys/dev/ic/ciss.c
+++ b/sys/dev/ic/ciss.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ciss.c,v 1.60 2010/07/02 08:12:17 matthew Exp $ */
+/* $OpenBSD: ciss.c,v 1.61 2010/07/07 10:12:13 dlg Exp $ */
/*
* Copyright (c) 2005,2006 Michael Shalayeff
@@ -364,7 +364,7 @@ ciss_attach(struct ciss_softc *sc)
}
sc->sc_link.adapter_softc = sc;
- sc->sc_link.openings = sc->maxcmd / (sc->maxunits? sc->maxunits : 1);
+ sc->sc_link.openings = sc->maxcmd;
sc->sc_link.adapter = &ciss_switch;
sc->sc_link.luns = 1;
sc->sc_link.adapter_target = sc->maxunits;