Commit Graph

106 Commits

Author SHA1 Message Date
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
Thomas Schoebel-Theuer 0223a5c946 improved debugging 2013-01-20 23:24:06 +01:00
Thomas Schoebel-Theuer fa6f0a6cf5 fixed memleak in trans_logger 2013-01-20 23:23:49 +01:00
Thomas Schoebel-Theuer 91f262b72b improve detection of memleaks 2013-01-20 23:23:49 +01:00
Thomas Schoebel-Theuer 92a4684692 workaround for rare race condition in trans_logger 2013-01-20 23:23:44 +01:00
Thomas Schoebel-Theuer f3274dda5b improved logger statistics (show delay count) 2013-01-20 23:23:30 +01:00
Thomas Schoebel-Theuer 227d9061fb fix minor race in logrotate 2013-01-20 23:23:30 +01:00
Thomas Schoebel-Theuer 77ac60b93a fix logrotate 2013-01-20 23:23:30 +01:00
Thomas Schoebel-Theuer eb8c9ddac4 limit memory consumtion in logst 2013-01-13 12:12:08 +01:00
Thomas Schoebel-Theuer fffc77a705 allow global limitation of mrefs in trans_logger (not yet activated) 2013-01-13 12:12:06 +01:00
Thomas Schoebel-Theuer d4f6d3f6a4 added feature log-rotate (while the system is loaded) 2013-01-13 12:12:06 +01:00
Thomas Schoebel-Theuer 15b8156064 fix cleanup of lib_log (crashed on logrotate) 2013-01-13 12:12:03 +01:00
Thomas Schoebel-Theuer 3c86d0fa08 infrastructure: introduce macro wrappers for callback handling 2013-01-13 12:12:03 +01:00
schoebel f2d1033f5f infrastructure: use bricks instead of outputs for aspects, remove hidden
outputs
2013-01-13 12:12:03 +01:00
schoebel e89088b7cb removed unnecessary aspect virtual functions + infrastructure 2013-01-13 12:12:03 +01:00
Thomas Schoebel-Theuer 96ed04574d import mars-128.tgz 2013-01-08 15:54:52 +01:00