Commit Graph

523 Commits

Author SHA1 Message Date
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
Thomas Schoebel-Theuer
92a4684692 workaround for rare race condition in trans_logger 2013-01-20 23:23:44 +01:00
Thomas Schoebel-Theuer
fd5c6abc6c reanimate some unused old code, only for debugging 2013-01-20 23:23:44 +01:00
Thomas Schoebel-Theuer
97ffc5d3b3 cleanup header files and macros 2013-01-20 23:23:43 +01:00
jmann
c9690d2c19 readd mars-status.pl 2013-01-20 23:23:43 +01:00
jmann
2a5b6b59a7 modified: ../.gitattributes 2013-01-20 23:23:43 +01:00
jmann
bde90c7691 add Gitt commands to mars-status.pl 2013-01-20 23:23:43 +01:00
jmann
df22f6bc58 add mars-status 2013-01-20 23:23:43 +01:00
Thomas Schoebel-Theuer
6d9975bc66 fix NULL ptr dereference in set_recursive_button() 2013-01-20 23:23:43 +01:00
Thomas Schoebel-Theuer
0e21a911a2 fix hang of callback thread in server 2013-01-20 23:23:42 +01:00
Thomas Schoebel-Theuer
f28d439dfb create faked versionlinks upon late join-resource 2013-01-20 23:23:42 +01:00
Thomas Schoebel-Theuer
54f9334643 better --force handling 2013-01-20 23:23:42 +01:00
Thomas Schoebel-Theuer
e550c2b8a6 yet another fix for logfile propagation 2013-01-20 23:23:42 +01:00
Thomas Schoebel-Theuer
92d9778dd7 fix race on primary switchover
solution: wait until all in /mars/resouce-*/ has stabilized
for 60s and all known logfiles have been migrated.
This more a workaround than a solution and should be fixed
in MARS FULL.
2013-01-20 23:23:41 +01:00
Thomas Schoebel-Theuer
8fe9b696aa fix another logfile update problem 2013-01-20 23:23:41 +01:00
Thomas Schoebel-Theuer
58f6981806 fix hang of remote logfile update
appending to logfile did not update copy_end_pos, so the copy
brick never switched off.
2013-01-20 23:23:41 +01:00
Thomas Schoebel-Theuer
81bfb9471a fix network race on primary/secondary switch
The race could lead to unnecessary split brain.
Now we wait until everything in the resource directory became stable
for at least 60 seconds. This may be somewhat too conservative
when having k>2 participants on the same resource.
2013-01-20 23:23:41 +01:00
Thomas Schoebel-Theuer
fd0309fee9 log symlink creation 2013-01-20 23:23:41 +01:00
Thomas Schoebel-Theuer
a32b4a9e7a make dentry update less verbose 2013-01-20 23:23:41 +01:00
Thomas Schoebel-Theuer
b9b14577fb fix incomplete propagation of dentries 2013-01-20 23:23:41 +01:00
Thomas Schoebel-Theuer
ba9c9b725c oops, wrong value 2013-01-20 23:23:41 +01:00
Thomas Schoebel-Theuer
de11fbfc13 add indicator for rest space: /mars/rest-space-* 2013-01-20 23:23:41 +01:00