NeilBrown <neilb@cse.unsw.edu.au> wrote: > > + if (sh == NULL) { > + sh = get_active_stripe(conf, sector_nr, pd_idx, 0); > + /* make sure we don't swamp the stripe cache if someone else > + * is trying to get access > + */ > + yield(); > + } In 2.6, yield() has utterly awful behaviour when there are a lot of other runnable tasks. Have you tested this when the kernel is busy doing other stuff, like a `make -j2' or a few busywait loops? You might find that rebuild simply stops. - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html