The 'fix' is easy enough though: pipe /bin/false through mdadm by default so it'll get a 'false' every time it would be looking for user input; effectively making it bail out whenever something's off:
alias mdadm="/bin/false | /sbin/mdadm"
alias mdadm="/bin/false | /sbin/mdadm"
root@debian64:~# time truncate -s 10T testfile
real0m0.003s
user0m0.000s
sys 0m0.004s
root@debian64:~# ls -l testfile
-rw-r--r-- 1 root root 10995116277760 Dec4 10:27 testfile
root@debian64:~# du -hs testfile
0 testfile
Awesome!
root@debian64:~# time fallocate -l 1G testfile
real 0m0.004s
user 0m0.000s
sys 0m0.000s
root@debian64:~# du -hs testfile
1.1G testfile
root@debian64:~# ls -l testfile
-rw-r--r-- 1 root root 1073741824 Dec 4 10:34 testfile