]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-journal: drop unnecessary re-read of object
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 28 Sep 2023 00:05:53 +0000 (09:05 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 3 Oct 2023 21:17:34 +0000 (22:17 +0100)
commit31438511e072b412f973e6c9fcd60149fd2fbac7
tree8b079c063876dc7a2ab9659e76828b0379e9c0e2
parentfdae874cfe338bc6a16eb588f9257a05fb43ae5e
sd-journal: drop unnecessary re-read of object

This reverts the following commits.
a1640191b4ca583ca62a4bd3b91edec3532bd41f
231741d355fbbe544f6bf62d714f56a6c857fb6f

These were done by my misunderstanding of the mmap cache behavior.

Also, this updates the comments added by
df04b9ed86a8b45c25cfff0fd800adb66407309a.
src/libsystemd/sd-journal/journal-file.c
src/libsystemd/sd-journal/sd-journal.c