"H. Peter Anvin" <hpa@xxxxxxxxx> writes: > Andre Noll wrote: >> >>> So back to my original question: Why does the kernel require 4 disks >>> for a raid6 instead of allowing 3? >> >> Dunno. Maybe Dan, Neil or HPA can tell the reason for imposing this >> limitation. >> > > It's very simple: it avoids an ugly corner case in the RAID-6 > computation code. Rather than inserting special code (and verifying it, > etc.) to deal with the 3-disk RAID-6 degenerate case, it was easier to > just not permit it. > > -hpa Could you point me at the file/line where the corner case is? MfG Goswin -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html