From 144ac4c1d301863bf85b8aee8e9dca7a7e9e4466 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Thu, 24 Aug 2023 17:00:54 +0200 Subject: [PATCH] Logging: fixed size logfiles behaving as mmapped ringbuffers This variant of logging avoids calling write() for every log line, allowing for waitless logging. This makes heavy logging less heavy and more useful for race condition debugging. --- doc/bird.sgml | 5 +++-- sysdep/unix/config.Y | 10 +++++++++- sysdep/unix/io.c | 44 ++++++++++++++++++++++++++++++++++++++++++-- sysdep/unix/unix.h | 3 ++- 4 files changed, 56 insertions(+), 6 deletions(-) diff --git a/doc/bird.sgml b/doc/bird.sgml index 7c8e9895d..0da616c70 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -471,7 +471,7 @@ ipv6 table include "tablename.conf";; -