Steve, Pavel These initial two patches fixes fallocate -z (zero range) support against windows2016 shares. This is a different case than what causes generic/469 to fail against samba shares but the approach for all these failures should be similar. It is a WIP in that it only addresses one single instance of this general limited fallocate support in cifs.ko. Next steps if you agree this is the way to go, would be to try to think about how we can expand this to some/all of the othter cases as well but perhaps without making too much code duplication. Steve, can you run this against the buildbot and see that there are no new failures from it?