Commit Graph

294 Commits

Author SHA1 Message Date
Ulrich Goettlich
004b3bbe6a * added Option Parsing
* added interval
* added usage of PATH to find marsadm
2013-01-20 23:24:14 +01:00
Thomas Schoebel-Theuer
6bad32e2b1 server: fix cleanup of old aio instances 2013-01-20 23:24:13 +01:00
schoebel
289ef67890 new pre-patches 2013-01-20 23:24:13 +01:00
Thomas Schoebel-Theuer
49336fdcac disable /proc/sys/mars/loadavg_limit by default 2013-01-20 23:24:13 +01:00
Thomas Schoebel-Theuer
4a9f141f8b marsadm: obey --force at log-delete-all 2013-01-20 23:24:13 +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
Thomas Schoebel-Theuer
62695c72de infra: improve code checking generally 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
f5b1b27a91 slow down connection retries 2013-01-20 23:24:11 +01:00
Thomas Schoebel-Theuer
d34d73be65 kill_brick_when_possible() also on server bricks 2013-01-20 23:24:11 +01:00
Thomas Schoebel-Theuer
06fea5042f stall network IO traffic when loadavg gets too high 2013-01-20 23:24:10 +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
73454bbbcf increase memory preallocation 2013-01-20 23:24:09 +01:00
Thomas Schoebel-Theuer
9a07637632 statistics for sio 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
c0dcc32df4 make aio slightly more robust 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
cb3dbc0e74 remove obsolete files 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
8909880554 fix logfile replay on standalone resources 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
3d45b19e71 less verbose debugging 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
72298768eb fixed race in lib_log 2013-01-20 23:24:06 +01:00
Thomas Schoebel-Theuer
a5646eeac4 rework logfile replication 2013-01-20 23:23:50 +01:00
Thomas Schoebel-Theuer
05e1051686 timeout for logfile switchover 2013-01-20 23:23:49 +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
287bb506b9 fix symlink update (only when really changed) 2013-01-20 23:23:49 +01:00
Thomas Schoebel-Theuer
7ee39d8dfa usability: added /proc/sys/mars/{errors,warnings} 2013-01-20 23:23:49 +01:00
Thomas Schoebel-Theuer
ff37572045 remove legacy printk() statements 2013-01-20 23:23:48 +01:00
Thomas Schoebel-Theuer
6cdd2415be improve responsiveness of mars_light thread 2013-01-20 23:23:48 +01:00
Thomas Schoebel-Theuer
7b0f4dbec4 new command marsadm log-delete-all 2013-01-20 23:23:47 +01:00
Thomas Schoebel-Theuer
c20181c17b rework of check_splitbrain() logic
also delete old versionlinks at marsadm log-delete
2013-01-20 23:23:47 +01:00
Thomas Schoebel-Theuer
a236fb0e15 automatic cleanup of /mars/todo-global/ 2013-01-20 23:23:47 +01:00
Thomas Schoebel-Theuer
7200a93c7c remove superfluous volatile keywords 2013-01-20 23:23:46 +01:00
Thomas Schoebel-Theuer
281c371d49 make mem allocation more robust 2013-01-20 23:23:46 +01:00
Thomas Schoebel-Theuer
94fa1e3a68 fix wrong switching of mars_copy 2013-01-20 23:23:46 +01:00
Thomas Schoebel-Theuer
76140e6c23 mutual exclusion between sync & logfile-apply 2013-01-20 23:23:46 +01:00
Thomas Schoebel-Theuer
340302e92d fix internal state hang in mars_copy 2013-01-20 23:23:46 +01:00
Thomas Schoebel-Theuer
81da8a0c1d fix replay logfile turnover (sometimes was too fast) 2013-01-20 23:23:45 +01:00
Thomas Schoebel-Theuer
25e38417c5 fixed minor problem with say() 2013-01-20 23:23:44 +01:00