From 2dbbc4c36f223f87b88b16f8c3dd473fa509295b 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 | 45 ++++++++++++++++++++++++++++++++++++++++++-- sysdep/unix/unix.h | 3 ++- 4 files changed, 57 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";; -