David Lehman wrote:
Instead of duplicating the entire function to add one option, why not add an optional/keyword argument "no_degraded" to the mdadd function. The new prototype would be as follows:
I've added new function because I didn't want to break current implementation.I've changed mdadd, as you have proposed, and merged this patch to [PATCH 3/5] - "activate mdmember"