Commit Graph

1640 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer
a96dd0d8d2 marsadm: backup-dir infrastructure 2017-09-12 20:29:49 +02:00
Thomas Schoebel-Theuer
d467fd4d96 marsadm: new operations merge-cluster and friends 2017-09-12 20:29:19 +02:00
Thomas Schoebel-Theuer
cc7bdea183 all: release mars0.1stable48 2017-09-11 11:34:20 +02:00
Thomas Schoebel-Theuer
981dc07a6d all: deletions tuning 2017-09-11 11:34:20 +02:00
Thomas Schoebel-Theuer
28d5b0e5d1 marsadm: safeguard overflow of deletion links 2017-09-08 23:42:30 +02:00
Thomas Schoebel-Theuer
1ad5de090d marsadm: rewrite already existing deletions 2017-09-08 23:42:30 +02:00
Thomas Schoebel-Theuer
56d7f72a62 net: early detection of socket hangups 2017-09-08 23:42:30 +02:00
Thomas Schoebel-Theuer
9025283608 server: handler limit 2017-09-07 12:56:23 +02:00
Thomas Schoebel-Theuer
2d26b3d224 server: dent limit 2017-09-07 12:55:40 +02:00
Thomas Schoebel-Theuer
c0dfbde8a8 infra: fix mem leak from merge error 2017-09-05 11:23:44 +02:00
Thomas Schoebel-Theuer
832695d560 all: release mars0.1stable47 2017-09-01 20:14:42 +02:00
Thomas Schoebel-Theuer
fd97da7552 contrib: add mass automation script from 2015, lab prototype 2017-09-01 20:14:42 +02:00
Thomas Schoebel-Theuer
3d2811c719 main: fix deadlock on uuid at leave-cluster
Similar to before:

root@m0:~# cat /proc/2642/stack
[<ffffffff810591cc>] kthread_stop+0x7f/0x10d
[<ffffffffa0172033>] _kill_peer.isra.7+0xf9/0x1ea [mars]
[<ffffffffa0172180>] peer_destruct+0xe/0x10 [mars]
[<ffffffffa016866a>] mars_free_dent+0x188/0x1b4 [mars]
[<ffffffffa0168a5a>] mars_dent_work+0x3c4/0x563 [mars]
[<ffffffffa0171265>] _main_thread+0x2b2/0x88d [mars]
[<ffffffff81059145>] kthread+0xb5/0xbd
[<ffffffff81660a19>] ret_from_fork+0x49/0x80
[<ffffffffffffffff>] 0xffffffffffffffff
root@m0:~# cat /proc/4282/stack
[<ffffffff81342154>] call_rwsem_down_read_failed+0x14/0x30
[<ffffffffa0166554>] mars_find_dent+0x19/0x3d [mars]
[<ffffffffa0172a30>] peer_thread+0x8ae/0xdc0 [mars]
[<ffffffff81059145>] kthread+0xb5/0xbd
[<ffffffff81660a19>] ret_from_fork+0x49/0x80
[<ffffffffffffffff>] 0xffffffffffffffff
2017-09-01 20:14:36 +02:00
Thomas Schoebel-Theuer
6c56b53850 infra: fix deadlock on leave-cluster & friends
root@m1:~# cat /proc/2661/stack
[<ffffffff810591cc>] kthread_stop+0x7f/0x10d
[<ffffffffa01660a5>] _kill_peer.isra.7+0xf9/0x1ea [mars]
[<ffffffffa01661f2>] peer_destruct+0xe/0x10 [mars]
[<ffffffffa015c66a>] mars_free_dent+0x188/0x1b4 [mars]
[<ffffffffa015ca5a>] mars_dent_work+0x3c4/0x563 [mars]
[<ffffffffa01652d7>] _main_thread+0x2b2/0x88d [mars]
[<ffffffff81059145>] kthread+0xb5/0xbd
[<ffffffff81660a19>] ret_from_fork+0x49/0x80
[<ffffffffffffffff>] 0xffffffffffffffff

root@m1:~# cat /proc/4473/stack
[<ffffffff81342154>] call_rwsem_down_read_failed+0x14/0x30
[<ffffffffa015a554>] mars_find_dent+0x19/0x3d [mars]
[<ffffffffa015dadc>] _mars_translate_hostname+0x86/0x126 [mars]
[<ffffffffa0166663>] peer_thread+0x46f/0xdc0 [mars]
[<ffffffff81059145>] kthread+0xb5/0xbd
[<ffffffff81660a19>] ret_from_fork+0x49/0x80
[<ffffffffffffffff>] 0xffffffffffffffff
2017-09-01 20:03:48 +02:00
Thomas Schoebel-Theuer
611cb1e7f7 all: release mars0.1stable46 2017-08-29 18:58:19 +02:00
Thomas Schoebel-Theuer
71a0d429f4 marsadm: increase safety margin 2017-08-29 18:58:19 +02:00
Thomas Schoebel-Theuer
5fbbb0bbe5 marsadm: fix host list display 2017-08-29 18:58:19 +02:00
Thomas Schoebel-Theuer
1e13c9e7ae all: document some deadlock danger on debug output 2017-08-29 18:53:24 +02:00
Thomas Schoebel-Theuer
45005f25c9 main: fix is_attached 2017-08-29 18:40:30 +02:00
Thomas Schoebel-Theuer
d091e4584e all: release mars0.1stable45 2017-08-25 15:09:42 +02:00
Thomas Schoebel-Theuer
8deb1c7d02 marsadm: unlink leftover deletion links 2017-08-25 15:07:59 +02:00
Thomas Schoebel-Theuer
5b41b2fb84 infra: regularly prune the /mars dentry cache 2017-08-25 15:07:59 +02:00
Thomas Schoebel-Theuer
21628113d3 all: release mars0.1stable44 2017-08-21 21:19:36 +02:00
Thomas Schoebel-Theuer
1e0b682109 doc: updated slides from FrOSCon 2017 2017-08-21 21:16:37 +02:00
Thomas Schoebel-Theuer
de8abf0284 main: report is-detached only when bio is gone 2017-08-21 21:16:37 +02:00
Thomas Schoebel-Theuer
68016194bc main: report is-detached for damaged resources 2017-08-21 21:16:36 +02:00
Thomas Schoebel-Theuer
34d7ebbd71 all: release mars0.1stable43 2017-07-26 11:15:58 +02:00
Thomas Schoebel-Theuer
45f9440842 main: protect rot list by rwsem 2017-07-26 11:08:56 +02:00
Thomas Schoebel-Theuer
3d9bbcb23c main: check alive link timestamp instead of tree version
The tree version might be updated less frequently.
2017-07-26 11:08:12 +02:00
Thomas Schoebel-Theuer
cf84aeba9f main: avoid fetch from failed peer for a while 2017-07-26 10:27:04 +02:00
Thomas Schoebel-Theuer
881f61bfcc main: fix abort of logfile fetching 2017-07-26 10:00:51 +02:00
Thomas Schoebel-Theuer
239ab6f59f all: release mars0.1stable42 2017-07-05 07:38:15 +02:00
Thomas Schoebel-Theuer
6a9795f247 marsadm: speed up error text retrieval 2017-07-05 07:38:15 +02:00
Thomas Schoebel-Theuer
86a4f1674c marsadm: introduce configurable MARS_PATH 2017-07-05 07:38:15 +02:00
Thomas Schoebel-Theuer
4c74c8e985 marsadm: fetch newest symlinks at join-resource 2017-07-05 07:38:15 +02:00
Thomas Schoebel-Theuer
12e41def3f marsadm: cleanup old remains on join-resource --force 2017-07-05 07:38:15 +02:00
Thomas Schoebel-Theuer
66734e4211 marsadm: log-purge-all must not fail on empty resource 2017-07-05 07:38:15 +02:00
Thomas Schoebel-Theuer
d3ede5b39f marsadm: tolerate empty resource dirs at leave-resource 2017-07-05 07:38:15 +02:00
Thomas Schoebel-Theuer
ee94c1279a marsadm: safeguard rsync at join-cluster 2017-07-05 07:38:15 +02:00
Thomas Schoebel-Theuer
1950c0fc1b marsadm: internal wait-cluster before doing join-resource
This is necessary when the full mesh communication is relaxed.
2017-07-05 07:38:15 +02:00
Thomas Schoebel-Theuer
1d85ec9cb3 userspace: rework ssh and rsync 2017-07-05 07:38:14 +02:00
Thomas Schoebel-Theuer
60a08c7387 marsadm: better --dry-run 2017-07-05 07:38:14 +02:00
Thomas Schoebel-Theuer
7bb3b2abcd marsadm: fix syslog quotation characters 2017-07-05 07:38:14 +02:00
Thomas Schoebel-Theuer
c117bffa11 logger: reset limiter 2017-07-05 07:37:12 +02:00
Thomas Schoebel-Theuer
a856db082b server: update limiter during idle time 2017-07-05 07:37:12 +02:00
Thomas Schoebel-Theuer
69d2f864d3 client: reset limiter 2017-07-05 07:37:12 +02:00
Thomas Schoebel-Theuer
25da408d66 copy: reset limiter 2017-07-05 07:37:12 +02:00
Thomas Schoebel-Theuer
ff2c948247 infra: add reset of limiter 2017-07-05 07:37:12 +02:00
Thomas Schoebel-Theuer
27eb38ff3e infra: add total statistics to limiter 2017-07-05 07:37:12 +02:00
Thomas Schoebel-Theuer
a983bf42de main: show peer debuginfo 2017-07-05 07:37:12 +02:00