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: Joel Sing (jsingcvs.openbsd.org)
Date: Fri Jun 26 2009 - 09:50:44 CDT


CVSROOT: /cvs
Module name: src
Changes by: jsingcvs.openbsd.org 2009/06/26 08:50:44

Modified files:
        sys/dev : softraid.c softraidvar.h

Log message:
Overhaul sr_boot_assembly(). The original code had a number of problems,
including a "chunk id already in use" bug that occurred when assembling
more than one volume at boot. Volumes are now kept in order, as are the
chunks which they are assembled from. Duplicated chunk IDs are now handled
appropriately, with the chunk that has the most recent ondisk metadata
being used.

Also tested by nicm who got bitten by the "chunk id already in use" bug.

ok marco