From 927837df257fd4a16ea8119fd96ff84d6be28d12 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Mon, 13 Nov 2023 15:52:59 +0100 Subject: [PATCH] Don't write thread metadata on flush The metadata was being written to the final directory, which may be too slow to accept writes during runtime. The thread metadata needs to be written anyway at ovni_thread_free() to set the finished flag, so we can simply skip it. --- src/rt/ovni.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/rt/ovni.c b/src/rt/ovni.c index 0900013..9adc3d1 100644 --- a/src/rt/ovni.c +++ b/src/rt/ovni.c @@ -712,8 +712,6 @@ ovni_flush(void) ovni_ev_set_mcv(&pre, "OF["); flush_evbuf(); - /* Also save metadata */ - thread_metadata_store(); ovni_ev_set_clock(&post, ovni_clock_now()); ovni_ev_set_mcv(&post, "OF]");