CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org 2013/08/25 19:59:22
Modified files: sys/kern : init_main.c Log message: move attach mpath before any hardware. the benefits being: - the mpath hooks path drivers call dont have to parse autoconf structures to tell if mpath may attach in the future. it now either has already attached or never will, which is simpler to check. - i can get rid of the global mpath target array by moving it into the mpath softc because of the above. - makes reasoning about state transitions (especially around when to attach) when groups of paths are implemented a lot simpler the only real caveat is dmesg feng shui may be ruined. i can come back and look at this after i move mpath itself forward though. discussed with deraadt@ miod@ ok todd@ matthew@ krw@