]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-journal: drop redundant re-read of entry array object
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 25 Sep 2023 01:44:50 +0000 (10:44 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 30 Sep 2023 11:10:15 +0000 (20:10 +0900)
commiteb6ba873447e378d40a13dfda764d2772ce36389
tree0209fcf27f412a711a86d27f71548d6d4197c098
parentcb88da825460c410139a9a3041af849ee2d01d5b
sd-journal: drop redundant re-read of entry array object

This effectively reverts d9b61db922404a216de018cc5ddff9b69bcaf1db.

In the do-while loop, we do not read any other entry array object, hence
the current object is always in the mmap cache and not necessary to re-read it.
src/libsystemd/sd-journal/journal-file.c