From 9991fbbe0b34cc9cc734b943d3baac6015f82241 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Tue, 11 Jun 2024 15:38:27 +0200 Subject: [PATCH] TMP: table best-all cleanup debug --- nest/rt-table.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nest/rt-table.c b/nest/rt-table.c index 113cb1c2..59cc975d 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -1371,13 +1371,17 @@ channel_notify_basic(void *_channel) static void rt_flush_best(struct rtable_private *tab, u64 upto) { + u64 last_seq = 0; RT_EXPORT_WALK(&tab->best_req, u) { ASSERT_DIE(u->kind == RT_EXPORT_UPDATE); ASSERT_DIE(u->update->seq <= upto); - if (u->update->seq == upto) + last_seq = u->update->seq; + if (last_seq == upto) return; } + + rt_trace(tab, D_STATES, "Export best full flushed regular up to %lu", last_seq); } static struct rt_pending_export *