[+] implement flush for all backends
Merge branch 'master' into master-next