CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2011/09/19 08:55:10

Modified files:
        sys/dev        : softraid.c 

Log message:
Cleanup sr_ioctl_createraid(). There are three clear cases - (1) corrupt
or invalid metadata; (2) a new volume with no existing metadata; and (3)
an existing volume with metadata. This removes duplicated code and
simplifies the code path.

Also ensure that we only process the optional metadata once per volume
and not once per chunk. Move the optional metadata handler calls into
sr_ioctl_createraid().

Reply via email to