--- sys/contrib/openzfs/module/zfs/dbuf.c.orig +++ sys/contrib/openzfs/module/zfs/dbuf.c @@ -2840,6 +2840,7 @@ failed = B_FALSE; } else if (failed) { VERIFY(!dbuf_undirty(db, tx)); + arc_buf_destroy(db->db_buf, db); db->db_buf = NULL; dbuf_clear_data(db); DTRACE_SET_STATE(db, "fill failed");