Commit Graph

85 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer 8909880554 fix logfile replay on standalone resources 2013-01-20 23:24:08 +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 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 a236fb0e15 automatic cleanup of /mars/todo-global/ 2013-01-20 23:23:47 +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 81da8a0c1d fix replay logfile turnover (sometimes was too fast) 2013-01-20 23:23:45 +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 e550c2b8a6 yet another fix for logfile propagation 2013-01-20 23:23:42 +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 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 5beafc0e4b fix hang on remote socket shutdown 2013-01-20 23:23:38 +01:00
Thomas Schoebel-Theuer f949ca7873 fix socket options 2013-01-20 23:23:38 +01:00
Thomas Schoebel-Theuer e7f3ee69ba add automatic socket shutdown on errors 2013-01-20 23:23:38 +01:00
Thomas Schoebel-Theuer 2440176bda improve network propagation 2013-01-20 23:23:37 +01:00
Thomas Schoebel-Theuer e3bfbab1a9 speedup overall handling a lot 2013-01-20 23:23:33 +01:00
Thomas Schoebel-Theuer 6ebf3147a1 Merge branch 'master' of ssh://git.schlund.de/tst/mars 2013-01-20 23:23:33 +01:00
Ulrich Goettlich cc0398917c modified prepatch (removed changes in init-mm.c as they are not needed anymore) 2013-01-20 23:23:33 +01:00
Thomas Schoebel-Theuer 465d24d7d8 fix versionlink computation / switchover check 2013-01-20 23:23:32 +01:00
Thomas Schoebel-Theuer 001be846b8 fix replay stalls caused by bad replaylink update 2013-01-20 23:23:32 +01:00
Thomas Schoebel-Theuer 0421cbd372 fixed races on replaylink/versionlink creation 2013-01-20 23:23:32 +01:00
Thomas Schoebel-Theuer f6b1419176 fixed network problems / races
reworked struct mars_socket for inplace usage instead of
dynmaic memory allocation (races were a nightmare)
2013-01-20 23:23:31 +01:00
Thomas Schoebel-Theuer c94394e29a allow logging to /mars/log.txt instead of syslog 2013-01-20 23:23:31 +01:00
Thomas Schoebel-Theuer 17d6b4dada fixed mem leak in say infrastructure 2013-01-20 23:23:31 +01:00
Thomas Schoebel-Theuer d7fd6e7932 tiny fix spelling error 2013-01-20 23:23:31 +01:00
Thomas Schoebel-Theuer 409536c010 new pre-patch for kernel 2.6.32 + adaptions 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 34a1ccc9ab improved memory handling (big change but necessary for long-time stability of mem allocs) 2013-01-20 23:23:30 +01:00
Thomas Schoebel-Theuer 62786c7d34 disable fake_mm when unused (might cause trouble) 2013-01-13 12:12:08 +01:00
Thomas Schoebel-Theuer a861bdf5b7 fix bad string access beyond trailing nullbyte 2013-01-13 12:12:08 +01:00
Thomas Schoebel-Theuer eb8c9ddac4 limit memory consumtion in logst 2013-01-13 12:12:08 +01:00
Thomas Schoebel-Theuer 6089a77d84 allow prefer of SIO instead of AIO (should be more stable) 2013-01-13 12:12:07 +01:00
Thomas Schoebel-Theuer bfb6131e26 fix logfile update 2013-01-13 12:12:07 +01:00
Thomas Schoebel-Theuer eabd64d324 feature: ENOSPC handling (8GB before fs is full) 2013-01-13 12:12:07 +01:00