Commit Graph

121 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer
d9aa8046b7 trans_logger: improve event handling 2013-01-23 20:06:53 +01:00
Thomas Schoebel-Theuer
776e83fea4 trans_logger: fix bailout strategy 2013-01-23 20:06:53 +01:00
Thomas Schoebel-Theuer
36455fb44f trans_logger: fix hangs caused by ranking deadlocks 2013-01-23 20:06:53 +01:00
Thomas Schoebel-Theuer
c0729b3b30 trans_logger: display mref_flying statistics 2013-01-23 20:06:53 +01:00
Thomas Schoebel-Theuer
b7c7e9b854 trans_logger: limit IO parallelism on transaction log 2013-01-23 20:06:52 +01:00
Thomas Schoebel-Theuer
802db14dcc trans_logger: fix race on master shadow 2013-01-23 20:06:52 +01:00
Thomas Schoebel-Theuer
471fbe4b54 infra: introduce tracing of atomics in mref 2013-01-23 20:06:52 +01:00
Thomas Schoebel-Theuer
f1af13b52b trans_logger: fix potential race on mref reuse 2013-01-23 20:06:52 +01:00
Thomas Schoebel-Theuer
6ec548251d trans_logger: add more aspect checking 2013-01-23 20:06:52 +01:00
Thomas Schoebel-Theuer
3aa9ed6926 logger: delay callers much earlier on memory shortage 2013-01-23 20:06:51 +01:00
Thomas Schoebel-Theuer
79b76d41c7 lib_timing: fix signedness comparison problem 2013-01-23 20:06:51 +01:00
Thomas Schoebel-Theuer
8ef65996cf lib_rank: fix potential integer overflow 2013-01-23 20:06:51 +01:00
Thomas Schoebel-Theuer
9126a3819e trans_logger: better debugging 2013-01-23 20:06:51 +01:00
Thomas Schoebel-Theuer
db19f86347 if: allow open() only when switched on 2013-01-23 20:06:51 +01:00
Thomas Schoebel-Theuer
1e369b366c logger: fix opportunity for too-early input destruction 2013-01-23 20:06:51 +01:00
Thomas Schoebel-Theuer
fdd3b251c0 all: replace kthread by brick_thread wrapper 2013-01-23 20:06:50 +01:00
Thomas Schoebel-Theuer
569e70eb90 light: delay shutdown if buffer memory is in use 2013-01-23 20:06:49 +01:00
Thomas Schoebel-Theuer
c319230fa1 all: IO scheduling improvements, tuning
Dastically boost random write performance on RAID controllers with BBUs.
Writeback is only performed when there is no IO contention / starvation.
The old IO contention controller was suited to workstations.
Now server loads are well-controlled even when BBUs are present.
2013-01-23 20:06:49 +01:00
Thomas Schoebel-Theuer
9016c81057 light: report timestamp of replay in actual-* 2013-01-20 23:24:30 +01:00
Thomas Schoebel-Theuer
23c8af994c proc: show actual mem usage in /proc/sys/mars/ 2013-01-20 23:24:30 +01:00
Thomas Schoebel-Theuer
261fc98d4a light: use limiter for display of rates 2013-01-20 23:24:30 +01:00
Thomas Schoebel-Theuer
11c7900acb all: replace msleep() by brick_msleep() 2013-01-20 23:24:30 +01:00
Thomas Schoebel-Theuer
c1ba96f0a0 all: fix race on close of transaction log 2013-01-20 23:24:29 +01:00
Thomas Schoebel-Theuer
2897ddf812 light: emergency stop logging on filesystem full 2013-01-20 23:24:24 +01:00
Thomas Schoebel-Theuer
cf05c126b5 mem: make total memory usage tunable in percent 2013-01-20 23:24:24 +01:00
Thomas Schoebel-Theuer
ae549bb319 infra: add mref_checksum() 2013-01-20 23:24:23 +01:00
Thomas Schoebel-Theuer
6071c49db9 all: rename some variables 2013-01-20 23:24:22 +01:00
Thomas Schoebel-Theuer
269c040a92 trans_logger: fix ranking calculation 2013-01-20 23:24:22 +01:00
Thomas Schoebel-Theuer
52abca712e trans_logger: fix wrong comments 2013-01-20 23:24:22 +01:00
Thomas Schoebel-Theuer
9fdc0ff41f trans_logger: tuning 2013-01-20 23:24:22 +01:00
schoebel
847f2a416f trans_logger: new IO scheduling 2013-01-20 23:24:22 +01:00
schoebel
2c5fcccc4e trans_logger: replace single queues by array 2013-01-20 23:24:21 +01:00
schoebel
63c3bf0f49 trans_logger: renumber queues from 0 to 3
Conflicts:

	mars_trans_logger.c
2013-01-20 23:24:21 +01:00
Thomas Schoebel-Theuer
548976cdde trans_logger: simplify writeback code 2013-01-20 23:24:21 +01:00
schoebel
baf5ea99da improve trans_logger replay speed, better statistics 2013-01-20 23:24:18 +01:00
schoebel
cd78a933a4 trans_logger: improve statistics
Conflicts:

	mars_trans_logger.c
2013-01-20 23:24:13 +01:00
Thomas Schoebel-Theuer
3d1ff35a1d trans_logger: improve code checking 2013-01-20 23:24:12 +01:00
schoebel
8e42c45cf4 prettyprint code 2013-01-20 23:24:12 +01:00
Thomas Schoebel-Theuer
dc6d26bb2a re-disable unnecessary LATE_COMPLETE 2013-01-20 23:24:12 +01:00
Thomas Schoebel-Theuer
4f2057bdca fix pos_complete(), move to __trans_logger_ref_put()
unsure whether needed.

probably MANDATORY to avoid that replay symlinks could go ahead?
2013-01-20 23:24:11 +01:00
Thomas Schoebel-Theuer
c320c67630 re-disable unnecessay WB_COPY 2013-01-20 23:24:11 +01:00
Thomas Schoebel-Theuer
22cc0f8fef ensure that ref_rw cannot change underneath 2013-01-20 23:24:11 +01:00
Thomas Schoebel-Theuer
c122773d6a pin mref during phase1_endio (for safety) 2013-01-20 23:24:11 +01:00
Thomas Schoebel-Theuer
0edd3d92ef fix race in completion code (provisionary) 2013-01-20 23:24:10 +01:00
Thomas Schoebel-Theuer
a48c41684d treat CONFIG_MARS_DEBUG independent from CONFIG_DEBUG_KERNEL 2013-01-20 23:24:09 +01:00
Thomas Schoebel-Theuer
e7d7ee206c try to fix resource deadlock 2013-01-20 23:24:08 +01:00
Thomas Schoebel-Theuer
a596ee5a4d fix trans_logger writeback (timestamp ordering) 2013-01-20 23:24:08 +01:00
Thomas Schoebel-Theuer
67046d008c fix deadlock in trans_logger 2013-01-20 23:24:08 +01:00
Thomas Schoebel-Theuer
f4fda83ac0 cleanup logging 2013-01-20 23:24:08 +01:00
Thomas Schoebel-Theuer
59fa9bfdd9 fix interrupt awareness in brick_say 2013-01-20 23:24:08 +01:00