diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2014-12-16 21:03:36 +0100 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2014-12-18 12:17:20 +0100 |
commit | 6573ef05a3cbe15949acfbbf1ad03726068907bd (patch) | |
tree | cb3d38ce419ba37de77b8cb358e82883573d8e22 /system-preset/90-systemd.preset | |
parent | 1fc605b0e130149a44abfa38c33f4535cfe548ea (diff) |
journal: keep per-JournalFile location info during iteration
In next_beyond_location() when we find a candidate entry in a journal
file, save its location information in struct JournalFile.
The purpose of remembering the locations of candidate entries is to be
able to save work in the next iteration. This patch does only the
remembering part.
LOCATION_SEEK means the location identifies a candidate entry.
When a winner is picked from among candidates, it becomes
LOCATION_DISCRETE.
LOCATION_TAIL here signifies we've iterated the file to the end (or the
beginning in the case of reversed direction).
Diffstat (limited to 'system-preset/90-systemd.preset')
0 files changed, 0 insertions, 0 deletions