On Mon, Aug 04, 2008 at 08:36:33PM -0500, Jon Nelson wrote: > The patch Keld sent me makes a significant difference: > > Before: > (Stock 2.6.25.11 x86-64 openSUSE 11.0 kernel raid10 module): 4.5h to 5.5h > > After: > Same kernel, minor changes to raid10.c and compiled: 1h 56m. > > :: > > Aug 4 18:37:09 turnip kernel: md: data-check of RAID array md0 > Aug 4 20:33:24 turnip kernel: md: md0: data-check done. > > > > My idea is to do the checks in bigger blocks, then you would minimize > > the trashing, by minimizing the number of times you need to move the > > head. And this would not need much change in the code. I have done a > > patch to do this, but I have not yet tested it. Thanks for testing it. It sounds good, and as I expected it to behave. I think the patch is clean and I have sent it to the list and Neil for inclusion in the tree. Best regards keld -- 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