Hi Darrick, I got a bug report about running out of log reservations when deleting heavily reflinked files. We're hitting the ASSERT(tp->t_ticket->t_curr_res >= len) in xlog_cil_insert_items and it seems we are way above the reservation. I started auditing the issue and it seems like we don't account for the refcountbt adjustments at all in tr_itruncate. Do you have any back of the napking math around for what amount of log reservations we should need for them? Otherwise I'll need to wade through the code and recreate that math. -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html