Commit Graph

1559 Commits

Author SHA1 Message Date
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
Thomas Schoebel-Theuer cc6b43a5a1 make exhaust limit for /mars/ configurable 2013-01-20 23:23:40 +01:00
Thomas Schoebel-Theuer 2f9d86b994 rename /proc/sys/mars to /proc/sys/mars/trigger
create basis for adding more entries to /proc/sys/mars/
2013-01-20 23:23:40 +01:00
Thomas Schoebel-Theuer bd55c058e1 replicate /mars/exhaused-* to all peers 2013-01-20 23:23:40 +01:00
Thomas Schoebel-Theuer 358d968260 stop all work when /mars/ is exhausted 2013-01-20 23:23:40 +01:00
Thomas Schoebel-Theuer 4016261bae never switch over logfiles when /mars/ is exhausted 2013-01-20 23:23:40 +01:00
Thomas Schoebel-Theuer d16978d445 add /mars/exhausted-* symlinks (space on /mars/) 2013-01-20 23:23:40 +01:00
Thomas Schoebel-Theuer 18cf152941 fix network hang by timeout in client 2013-01-20 23:23:39 +01:00
Thomas Schoebel-Theuer ae12c25267 fix spurious mem allocation failure 2013-01-20 23:23:39 +01:00
Thomas Schoebel-Theuer b25d5a84a8 fix crash in mars_copy (wait for IO completion) 2013-01-20 23:23:39 +01:00
Thomas Schoebel-Theuer 67c7e646d2 fix crash in server, added statistics 2013-01-20 23:23:39 +01:00
Thomas Schoebel-Theuer 74354dd9ff fix crashes in server 2013-01-20 23:23:39 +01:00
Thomas Schoebel-Theuer 472da6628c fix stall on socket shutdown once again 2013-01-20 23:23:39 +01:00
Thomas Schoebel-Theuer dcc2865682 fix crash on server exit 2013-01-20 23:23:38 +01:00
Thomas Schoebel-Theuer 5beafc0e4b fix hang on remote socket shutdown 2013-01-20 23:23:38 +01:00