Dan Williams wrote: > In write-through mode bi_end_io is called once writes to the data disk(s) > and the parity disk have completed. > > In write-back mode bi_end_io is called immediately after data has been > copied into the stripe cache, which also causes the stripe to be marked > dirty. This is not really meaningful, as this is exactly what the page-cache already does before being synced. It may be more reasonable to sync the data-stripe as usual, and only delay the parity. This way you shouldn't have to worry about unclean shutdowns. Thanks! -- Al - 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