if ciss(4) has multiple disks on it, this should let any one of
those disks to use all the commands. with the iopools stuff thats
now in the tree, io on another disk should then be able to start
up and get a fair share.

i want a test from someone who has multiple LDs on a single ciss(4).

if you could run iogen on both disks at the same time, or find over
both of them while running this diff, that would be great.

Index: ciss.c
===================================================================
RCS file: /cvs/src/sys/dev/ic/ciss.c,v
retrieving revision 1.55
diff -u -p -r1.55 ciss.c
--- ciss.c      15 Jun 2010 04:11:34 -0000      1.55
+++ ciss.c      18 Jun 2010 10:54:37 -0000
@@ -369,7 +369,7 @@ ciss_attach(struct ciss_softc *sc)
 
        sc->sc_link.device = &ciss_dev;
        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;

Reply via email to