On 2024-07-29 09:09, Christoph Hellwig wrote:
How can we get rid of this glibc fallback that turns the implementations non-conformant and increases write amplication for no good reason?
The simplest solution would be to remove the broken fallback in glibc. A more conservative possibility would be to use the fallback only on file system types that lack native fallocate and where the fallback is known to work (which are they?). Perhaps you could propose a patch along either line.