It may be more general, but if you want code that's been tested to death, md's raid5 implementation must be that code. So it's probably unlikely that it'll be phased out at any time in the near future, since RAID code is by its very nature rife with complex stuff only executed on rare error paths and thus is a monster to test.