Commit Graph

172 Commits

Author SHA1 Message Date
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
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
schoebel 4525d28aed fix disconnect of bricks, better copy statistics, various improvements 2013-01-13 12:12:07 +01:00
Thomas Schoebel-Theuer 3ef01a98db allow override of power switches, fix __make_copy() 2013-01-13 12:12:06 +01:00
Thomas Schoebel-Theuer fffc77a705 allow global limitation of mrefs in trans_logger (not yet activated) 2013-01-13 12:12:06 +01:00
Thomas Schoebel-Theuer d4f6d3f6a4 added feature log-rotate (while the system is loaded) 2013-01-13 12:12:06 +01:00
Thomas Schoebel-Theuer 79389eed2c Revert "introduced memory pools (against fragmentation problems)"
This reverts commit d43a4fb357daaa2d983c50bf621a0502f9cfaae4.
2013-01-13 12:12:06 +01:00
Thomas Schoebel-Theuer 460781f058 fix NULL pointer deref in make_log_step() 2013-01-13 12:12:06 +01:00
Thomas Schoebel-Theuer 977e5a3b3a introduced "marsadm log-delete"
TBD: "marsadm log-purge"
TBD: long-term cleanup of symlinks in /mars/todo-global/
2013-01-13 12:12:06 +01:00
Thomas Schoebel-Theuer 6127f1d14c introduced memory pools (against fragmentation problems) 2013-01-13 12:12:06 +01:00
Thomas Schoebel-Theuer 681ffcb35e introduced allow-replay (independent from pause-sync) 2013-01-13 12:12:06 +01:00
Thomas Schoebel-Theuer 750a36de5d Merge branch 'master' of ssh://git.schlund.de/tst/mars
Conflicts:
	userspace/marsadm
2013-01-13 12:12:06 +01:00
jmann 538bff0812 fix marsadm for replay links 2013-01-13 12:12:05 +01:00
Thomas Schoebel-Theuer ad9f40eac5 fix setup of secondaries, remove faked version links
remaining bug: version symlink is omitted when transaction log has size 0.
2013-01-13 12:12:05 +01:00
Thomas Schoebel-Theuer b23077d468 oops, copy bricks were killed too often (fixed) 2013-01-13 12:12:05 +01:00
Thomas Schoebel-Theuer 1d5124b76f fix: ensure that copy bricks are always cancelled upon module unload 2013-01-13 12:12:05 +01:00
Thomas Schoebel-Theuer 13ca3a8563 fixed server, added symlink indicating aliveness of peers 2013-01-13 12:12:05 +01:00
Thomas Schoebel-Theuer 6bad7eca8d fix possible endless loops (100% CPU) in networking code 2013-01-13 12:12:04 +01:00
Thomas Schoebel-Theuer 1c0549de99 simplified / reworked aspect allocation 2013-01-13 12:12:04 +01:00
Thomas Schoebel-Theuer cb5f6e4d37 fixed memory allocation, improved IO debugging 2013-01-13 12:12:04 +01:00
Thomas Schoebel-Theuer ab3f9f6a00 added brick_version, fixed endless instantion/removal loops 2013-01-13 12:12:04 +01:00
Thomas Schoebel-Theuer be4aab45a2 added automatic killing of unused client/aio bricks 2013-01-13 12:12:04 +01:00
Thomas Schoebel-Theuer 8d593f5dfa minor rewrite of logfile update logic, cleanly separate remote_dent from local_dent 2013-01-13 12:12:04 +01:00
Thomas Schoebel-Theuer 1fa3c24d72 replace brick_name with brick_path
longterm goal: remove brick_name at all, or change its meaning.
2013-01-13 12:12:04 +01:00
Thomas Schoebel-Theuer 16c4314409 removed alias symlinks to logfiles 2013-01-13 12:12:04 +01:00
Thomas Schoebel-Theuer e82bdbf804 oops: fix builds without BIGMODULE 2013-01-13 12:12:03 +01:00
Thomas Schoebel-Theuer 507193ac69 added BUILDTAG to module version 2013-01-13 12:12:03 +01:00
Thomas Schoebel-Theuer f3068dec34 remove percent display (should be done by userspace) 2013-01-13 12:12:03 +01:00
Thomas Schoebel-Theuer c8e7d8b59d fix signedness in crypto hash display 2013-01-13 12:12:02 +01:00
Thomas Schoebel-Theuer 3715fdf93d statuslinks will be updated more often 2013-01-13 12:12:02 +01:00
Thomas Schoebel-Theuer ef55a73ad9 fixed todo_primary vs is_primary 2013-01-13 12:12:02 +01:00
Thomas Schoebel-Theuer 4bff7b2504 removed broken "finished" symlinks, renamed switch-* to todo-*, changed _check_versionlink() to new philosophy
remaining bug: we must distinguish between _designated_ primary and actual primary
2013-01-13 12:12:02 +01:00
root 9d00314c49 replace switch-*/ by todo-*/ 2013-01-13 12:11:51 +01:00
Thomas Schoebel-Theuer 96ed04574d import mars-128.tgz 2013-01-08 15:54:52 +01:00
Thomas Schoebel-Theuer 188636c6af import mars-127.tgz 2013-01-08 15:54:49 +01:00
Thomas Schoebel-Theuer b54dbfb492 import mars-126.tgz 2013-01-08 15:54:44 +01:00
Thomas Schoebel-Theuer 3091f75f67 import mars-125.tgz 2013-01-08 15:54:44 +01:00
Thomas Schoebel-Theuer 4ff110b793 import mars-124.tgz 2013-01-08 15:54:43 +01:00
Thomas Schoebel-Theuer b7326a74a7 import mars-122.tgz 2013-01-08 15:54:41 +01:00
Thomas Schoebel-Theuer f51293dced import mars-120.tgz 2013-01-08 15:54:40 +01:00
Thomas Schoebel-Theuer 866ac28322 import mars-119.tgz 2013-01-08 15:54:39 +01:00