sudo mkfs.ext4 /dev/md0
NOTE: /dev/md0 can be used now just as any other block device.
The following formulae can be used to calculate the best settings for the filesystem:
mkfs.ext4 -b 4096 -E stride=128,stripe-width=256 /dev/md0
For further details, get a recent e2fsprogs and look for stride, stripe etc. in the man page.