As a quick fix this looks good: Reviewed-by: Christoph Hellwig <hch@xxxxxx> That beeing said we really need to go back and look into this, especially due to discards. For SSDs it is generlly much better to quickly reuse freed blocks rather than discarding them later.