OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: David Gwynne (dlgcvs.openbsd.org)
Date: Mon Apr 05 2010 - 20:04:24 CDT


CVSROOT: /cvs
Module name: src
Changes by: dlgcvs.openbsd.org 2010/04/05 19:04:24

Modified files:
        sys/dev/ic : mpi.c mpivar.h

Log message:
modify mpi to provide an iopool as a way for the midlayer to manage access
to its free ccbs.

this allows the midlayer to schedule access to the bus in a roundrobin
fashion for all consumers on the bus, including io from devices and even
the internal mpi management commands used to poll the state of raid
devices. the result is fairer sharing between disks on the bus and more
reliable sensor updates.

ok krw beck marco
tested by beck