Others will give a more comprehensive answer but you use btrfs (or for that matter zfs) instead of software raid and let it manage the raid and file system. BTRFS and Zfs work from the block level up.That is what I've done successfully on my media server using zfs.