Commit Graph

78 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer
ea4fbc1885 all: remove superfluous dealloc tests and clears 2020-07-08 21:00:05 +02:00
Thomas Schoebel-Theuer
3d06881801 infra: prepare compressed logfiles 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
d87fb27473 all: deprecate mref_skip_sync 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
40e72f9e7d all: deprecate mref_rw and mref_may_write 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
00834a2370 infra: introduce temporary bounce buffers 2020-04-13 10:54:18 +02:00
Thomas Schoebel-Theuer
506f57d04b logger: improve trigger 2020-02-10 09:35:29 +01:00
Thomas Schoebel-Theuer
47b6ee5a1e logger: speed up thread termination 2020-01-28 14:07:34 +01:00
Thomas Schoebel-Theuer
b533bb7a06 logger: increase hash constants 2019-07-18 12:36:45 +02:00
Thomas Schoebel-Theuer
b1c3602f93 logger: fix potential infinite memory allocation 2019-07-18 11:12:47 +02:00
Thomas Schoebel-Theuer
b2d18bdfbf logger: more testing 2019-07-18 11:12:47 +02:00
Thomas Schoebel-Theuer
ee1e1ab1bb EOL: fully merge branch 'mars0.1.y' into mars0.1a.y 2019-07-10 11:26:15 +02:00
Thomas Schoebel-Theuer
d7d03981c2 logger: allow pressure disabling for testing only 2019-06-26 11:00:17 +02:00
Thomas Schoebel-Theuer
5be66cacb2 logger: make update_interval configurable 2019-06-26 11:00:17 +02:00
Thomas Schoebel-Theuer
30e3e073a1 logger: avoid writeback starvation by minimum update speed 2019-06-26 11:00:17 +02:00
Thomas Schoebel-Theuer
abf5b84b6d Merge branch 'mars0.1.y' into mars0.1a.y 2019-04-06 20:09:26 +02:00
Thomas Schoebel-Theuer
867be8a743 logger: fix writeback in pressure mode 2019-04-06 19:55:57 +02:00
Thomas Schoebel-Theuer
3320529ffb logger: rename old floating_mode to pressure_mode 2019-04-06 19:55:57 +02:00
Thomas Schoebel-Theuer
620e460471 Revert "logger: fix writeback in non-floating mode"
This reverts commit 079a5f7714.
2019-04-06 19:55:57 +02:00
Thomas Schoebel-Theuer
88ed66efe1 Merge branch 'mars0.1.y' into mars0.1a.y 2019-03-12 12:50:54 +01:00
Thomas Schoebel-Theuer
5b2672e211 logger: reduce atomic_t overhead for production 2019-03-12 12:47:25 +01:00
Thomas Schoebel-Theuer
079a5f7714 logger: fix writeback in non-floating mode 2019-03-12 12:47:25 +01:00
Thomas Schoebel-Theuer
5ad1645de9 Merge branch 'mars0.1.y' into mars0.1a.y 2019-02-12 11:26:58 +01:00
Thomas Schoebel-Theuer
ad69d1cf79 lib_log: also convert to brick_wait 2019-02-12 11:02:06 +01:00
Thomas Schoebel-Theuer
e7fa3fa130 infra: make brick_wait upstream independent 2019-02-12 11:02:05 +01:00
Thomas Schoebel-Theuer
26ddf5e68c Merge branch 'mars0.1.y' into mars0.1a.y 2018-10-15 07:24:03 +02:00
Thomas Schoebel-Theuer
e6a1197432 logger: use brick_wait() for caller delay 2018-10-10 10:51:34 +02:00
Thomas Schoebel-Theuer
ba9c973d81 logger: improve wake up on memory shortage 2018-10-10 10:51:34 +02:00
Thomas Schoebel-Theuer
4b1ca21354 logger: fix condition checking using locks during wait 2018-10-10 10:51:34 +02:00
Thomas Schoebel-Theuer
147ee84de3 Merge branch 'mars0.1.y' into mars0.1a.y 2018-04-10 11:09:07 +02:00
Thomas Schoebel-Theuer
d32251179b all: replace replay magic numbers by named constants 2018-04-10 09:04:41 +02:00
Thomas Schoebel-Theuer
1022c21ac6 Merge branch 'mars0.1.y' into mars0.1a.y 2018-02-01 06:25:02 +01:00
Thomas Schoebel-Theuer
e5bb5ade55 logger: replace spinlock by rwsem 2018-01-31 07:24:00 +01:00
Thomas Schoebel-Theuer
d2786079f6 logger: replace rwlock by rwsem 2018-01-31 07:24:00 +01:00
Thomas Schoebel-Theuer
0adab134ac Merge branch 'mars0.1.y' into mars0.1b.y 2017-07-05 07:48:08 +02:00
Thomas Schoebel-Theuer
c117bffa11 logger: reset limiter 2017-07-05 07:37:12 +02:00
Thomas Schoebel-Theuer
8b6fe3e3bb infra: remove superfluous event trigger 2017-06-07 06:22:46 +02:00
Thomas Schoebel-Theuer
37fb40f8a7 logger: remove seaparate flying counter 2017-06-07 06:22:46 +02:00
Thomas Schoebel-Theuer
cbb7de25fe logger: fix races on queues 2017-06-07 06:22:46 +02:00
Thomas Schoebel-Theuer
c95c478f30 logger: new activity counter 2017-06-07 06:22:46 +02:00
Thomas Schoebel-Theuer
0783946bc2 logger: downgrade atomic_t 2017-06-07 06:22:46 +02:00
Thomas Schoebel-Theuer
d8e2421de9 logger: remove useless counter 2017-06-07 06:22:46 +02:00
Thomas Schoebel-Theuer
be35a0af37 Merge branch 'mars0.1.y' into mars0.1b.y 2017-05-28 19:19:37 +02:00
Thomas Schoebel-Theuer
95ff42b7de logger: disable irqs during spinlocks 2017-05-16 10:17:02 +02:00
Thomas Schoebel-Theuer
4f071e362f infra: new interface to Lamport clock 2017-04-15 18:10:44 +02:00
Thomas Schoebel-Theuer
f0381455cb logger: increase position update frequency 2017-01-25 09:30:52 +01:00
Thomas Schoebel-Theuer
90653476f6 all: crash testing hardening infrastructure
This is important for even more hardening of MARS.
Simulate crashes at the "wrong moment", typically with
IO requests flying, or just before a symlink update.

Only for debugging. Never use for production.
2016-08-09 09:34:19 +02:00
Thomas Schoebel-Theuer
4d31d09534 all: remove CONFIG_MARS_BIGMODULE 2016-03-03 09:33:34 +01:00
Thomas Schoebel-Theuer
25d954051b logger: move ranking array from stack to brick instance
Don't allocate this on the stack, it might grow too big in future.
Reduces the risk of stack overflows (not observed until now, but
suspected).
2016-01-02 10:18:22 +01:00
Thomas Schoebel-Theuer
045d0e0356 logger: fix potential deadlock caused by incorrect accounting
Never observed in practice, found by testing with kernel upstream
versions.
2016-01-02 09:43:22 +01:00
Thomas Schoebel-Theuer
4d8dc3a619 logger: fix spelling 2015-10-07 10:45:51 +02:00