On Mon, Feb 13, 2017 at 04:31:55PM -0600, Eric Sandeen wrote: > > This solves the problem for me, and from history appears to be the > > right thing to do. Christoph, can you send a proper patch for this? > > Did anything ever come of this? I don't think I saw a patch, and it looks > like it is not upstream. "xfs: fix bogus space reservation in xfs_iomap_write_allocate" got edits from Dave to fix this issue up in-line. It's actually still kinda bogus as I found out while spending more time with the allocator, though. Fixing the whole total vs minlen thing is rather invasive, but I've started working on it and hope to have something for the next merge window.