Thomas Schoebel-Theuer
cb517fb34c
fix logfile update from multiple peers
2013-01-20 23:24:17 +01:00
Thomas Schoebel-Theuer
d5cb69b391
improve cache footprint of MARS
2013-01-20 23:24:15 +01:00
Thomas Schoebel-Theuer
6bad32e2b1
server: fix cleanup of old aio instances
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
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
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
e7d7ee206c
try to fix resource deadlock
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
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
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
6cdd2415be
improve responsiveness of mars_light thread
2013-01-20 23:23:48 +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
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
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
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
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