@hans I pushed posix_fallocate version + tests, using other parts of the code as a template.
For unknown reason, the CI still complains about identity with my MRs (I double checked that all my commits where done with user.name / user.email set). If you can/want to use this code, improve it with your better understanding of wine / multi-threading potential issues, please do.