The dm-raid1 module also appears to intrinsicly trust its mapping and the
contents of its meta-data (simple magic number check). It seems to me that the kernel should validate all of its inputs regardless of whether the
ioctls that are used to present them are only supposed to be used by a
"trusted daemon".
I honestly don't care if the final solution is EMD, DM, or XYZ so long as that solution is correct, supportable, and covers all of the scenarios required for robust RAID support. That is the crux of the argument, not "please love my code".