[sudo-commits] sudo changeset 13575:5233172b7531

Todd C. Miller Todd.Miller at sudo.ws
Fri Oct 15 19:12:50 MDT 2021


changeset:	13575:5233172b7531 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/5233172b7531
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Fri Oct 15 19:10:34 2021 -0600

Log Message:
	Flush I/O logs before we send a commit point.
	The commit point message means we have written the data to disk so
	we should not be buffering it any longer.
	We do not currently fsync(2) the data after flushing, perhaps we should.

diffstat:

 MANIFEST                |   1 +
 include/sudo_iolog.h    |   1 +
 lib/iolog/Makefile.in   |  16 ++++++++++-
 lib/iolog/iolog_conf.c  |  20 +++++++-------
 lib/iolog/iolog_flush.c |  66 +++++++++++++++++++++++++++++++++++++++++++++++++
 logsrvd/iolog_writer.c  |  21 ++++++++++++++-
 logsrvd/logsrvd.c       |   1 +
 logsrvd/logsrvd.h       |   1 +
 8 files changed, 114 insertions(+), 13 deletions(-)



More information about the sudo-commits mailing list