This happens when the fs runs out of space for a new metadata chunk, much less likely to happen with newer kernels, one way to get around this is to freu up some space, pre-allocate some metadata, then delete that when it's getting full, I can post detailed instructions if you want, but first you'd need to free up some space, like 100 or 200GB should be enough.