NeilBrown <neilb@xxxxxxx> writes: > RAID6 is only allowed to choose 'reconstruct-write' while RAID5 is > also allow 'read-modify-write' > Apart from this difference, handle_stripe_dirtying[56] are nearly > identical. So resolve these differences and create just one function. > > Signed-off-by: NeilBrown <neilb@xxxxxxx> Reviewed-by: Namhyung Kim <namhyung@xxxxxxxxx> BTW, here is a question: Why RAID6 doesn't allow the read-modify-write? I don't think it is not possible, so what prevents doing that? performance? complexity? or it's not possible? Why? :) -- 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