On Wed, 9 Dec 2009 19:29:04 +0800 hank peng <pengxihan@xxxxxxxxx> wrote: > I think it is better to implement this function in kernel's md layer. > I wonder what Neil Brown think of this? I don't think it is worth the effort. You probably would save some CPU time as you don't need to XOR, but as has been said, we are usually IO bound, not CPU bound. With the current arrangement, you can start using the array immediately - you don't have to wait for the initial recovery to complete. If you zeroed all devices at create time, you would have to wait for that to complete before using the array. So I see very little gain, and significant cost. NeilBrown -- 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