Files
systemd/src
Michal Schmidt 950c07d421 journal: make skipping of exhausted journal files effective again
Commit 668c965af "journal: skipping of exhausted journal files is bad if
direction changed" fixed a correctness issue, but it also significantly
limited the cases where the optimization that skips exhausted journal
files could apply.
As a result, some journalctl queries are much slower in v219 than in v218.
(e.g. queries where a "--since" cutoff should have quickly eliminated
older journal files from consideration, but didn't.)

If already in the initial iteration find_location_with_matches() finds
no entry, the journal file's location is not updated. This is fine,
except that:
 - We must update at least f->last_direction. The optimization relies on
   it. Let's separate that from journal_file_save_location() and update
   it immediately after the direction checks.
 - The optimization was conditional on "f->current_offset > 0", but it
   would always be 0 in this scenario. This check is unnecessary for the
   optimization.
2015-02-25 17:32:27 +01:00
..
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-25 00:00:32 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-01-23 09:30:44 -05:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2014-08-03 21:46:07 -04:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-24 23:55:35 -05:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2014-09-19 00:15:39 +02:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-24 16:26:30 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
…