Commit Graph

19 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer d96931867a trans_logger: fix error code propagation 2014-03-19 11:44:58 +01:00
Thomas Schoebel-Theuer e551c1aa87 light: fix emergency mode 2014-03-19 11:44:58 +01:00
Thomas Schoebel-Theuer 7fa4bf1ecd trans_logger: fix emergency mode 2014-03-19 11:44:57 +01:00
Thomas Schoebel-Theuer 9d86cb679b all: fix inconsistent terminology apply->replay
In most cases, "replay" was already used. So it is easier
to switch the rare "apply" wording to "replay" everywhere (hopefully).
2014-03-19 11:30:24 +01:00
Thomas Schoebel-Theuer 99644a943a all: make *_switch() code idempotent
New semantics: it must be possible to call the switch functions
even when nothing has changed.
2013-10-17 07:48:32 +02:00
Thomas Schoebel-Theuer 22d4516d21 trans_logger: use kb as replay limiter units 2013-07-15 12:21:16 +02:00
Thomas Schoebel-Theuer ad08afe074 light: use replay_tolerance only after failed replay attempt 2013-07-08 10:47:33 +02:00
Thomas Schoebel-Theuer d4338032bb logger: make writeback more resilient 2013-07-04 07:21:01 +02:00
Thomas Schoebel-Theuer 0f4cc33d15 logger: make replay_timeout configurable 2013-07-04 07:21:01 +02:00
Thomas Schoebel-Theuer bfb6070d25 logger: add replay_tolerance 2013-07-04 07:21:00 +02:00
Thomas Schoebel-Theuer 5b523f16f7 logger: avoid potential races between IO and symlink updates 2013-06-20 15:09:05 +02:00
Thomas Schoebel-Theuer 39ed143e27 logger: fix potential race on replay_end_pos
The variable should only be set from outside, e.g. mars_light.
This should also lead to more correct replay_code==2 results.
2013-06-20 15:09:05 +02:00
Thomas Schoebel-Theuer fe54abb225 logger: update symlinks even at apply of incomplete logfiles 2013-06-20 15:08:48 +02:00
Thomas Schoebel-Theuer 21a5d4160c logger: disallow skipping of bad data
Be as conservative as possible.

Any copputed logfiles must be corrected in userspace.
2013-06-20 15:08:28 +02:00
Thomas Schoebel-Theuer 1202f2ae8e trans_logger: fix emergency mode (cease_logging) 2013-04-22 11:48:50 +02:00
Thomas Schoebel-Theuer 8f6054b0cc trans_logger: call _flush_inputs() more often
The old behaviour could lead to starvation effects.
In particular, direct IO writes were affected.
2013-04-18 18:31:38 +02:00
Thomas Schoebel-Theuer b0b9723cb2 trans_logger: fix possible endless loop on termination 2013-04-16 10:04:43 +02:00
Thomas Schoebel-Theuer e7c67b73b1 trans_logger: avoid higher-order pages for hashing 2013-04-15 18:37:11 +02:00
Thomas Schoebel-Theuer c58417d271 all: move kernel source into separate directory 2013-04-08 17:01:37 +02:00