Peter, your patch looks really interesting. > The driver keeps a bitmap of pending writes in memory, and writes them > to the mirror component that's just been repaired when it comes back on > line. The bitmap is two-level and created pagewise on demand, so it's > not too expensive. [...] how do you ensure that the 'repaired' drive indeed only differs in the dirty-bitmap portions of the data disk? It's perfectly valid to add a completely new (and unsynced) disk to the system when one disk fails. Or is this the responsibility of the administrator? also, your resyncing method does not attempt to address the resync necessary to be done after an unclear shutdown (eg. power failure), correct? Ingo - 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