Commit Graph

1791 Commits

Author SHA1 Message Date
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
4ff7dfe7a4 Merge branch 'mars0.1.y' into mars0.1b.y 2017-07-26 11:32:47 +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
d661ab647d all: release mars0.1balpha4 2017-07-05 14:17:23 +02:00
Thomas Schoebel-Theuer
71e6534b3c doc: update pdf 2017-07-05 14:17:04 +02:00
Thomas Schoebel-Theuer
f3c2e155b1 doc: describe socket bundling 2017-07-05 14:15:42 +02:00
Thomas Schoebel-Theuer
31e7560886 marsadm: show number of replicas 2017-07-05 14:15:42 +02:00
Thomas Schoebel-Theuer
41cf70e288 if: show open_count in statistics 2017-07-05 14:15:41 +02:00
Thomas Schoebel-Theuer
5b12f5c569 client: show number of active channels in statistics 2017-07-05 14:15:41 +02:00
Thomas Schoebel-Theuer
347bb102e7 infra: safeguard dent deallocation 2017-07-05 08:01:48 +02:00
Thomas Schoebel-Theuer
86d70bd6a5 main: more detailed messages on peers and paths 2017-07-05 08:01:48 +02:00
Thomas Schoebel-Theuer
aa5481a87d main: fetch only metadata of interesting resources 2017-07-05 08:01:48 +02:00
Thomas Schoebel-Theuer
627a402617 main: compute list of participating resources 2017-07-05 08:01:48 +02:00
Thomas Schoebel-Theuer
6c4f72ceab infra: allow pruning of subdirs 2017-07-05 08:01:48 +02:00
Thomas Schoebel-Theuer
e7a53ec4e3 server: propagate path from client 2017-07-05 08:01:48 +02:00
Thomas Schoebel-Theuer
c4fb7c2e41 main: verbose debugging 2017-07-05 08:01:48 +02:00
Thomas Schoebel-Theuer
5fbfd64c58 marsadm: new feature hook-scripts 2017-07-05 08:01:48 +02:00
Thomas Schoebel-Theuer
f784c6555e main: remote_trigger only communicating peers 2017-07-05 08:01:48 +02:00
Thomas Schoebel-Theuer
d382bd7037 main: terminate and restart peer thread when necessary 2017-07-05 08:01:47 +02:00
Thomas Schoebel-Theuer
14737303b7 main: show more peer debuginfo 2017-07-05 08:01:47 +02:00
Thomas Schoebel-Theuer
a41c0f8f98 main: run some additional peer threads 2017-07-05 08:01:47 +02:00
Thomas Schoebel-Theuer
08bf6cb8b5 marsadm: safeguard rsync at join-cluster 2017-07-05 08:01:47 +02:00
Thomas Schoebel-Theuer
c8ec870886 main: only scan the peers we are participating
After this, nothing will be propagated to non-participating hosts.
The next patch is needed for fixing this.
2017-07-05 08:01:47 +02:00
Thomas Schoebel-Theuer
475b33d7ee main: also scan other hostname contexts 2017-07-05 08:01:47 +02:00
Thomas Schoebel-Theuer
29f656b2c1 marsadm: new operations merge-cluster and friends 2017-07-05 08:01:47 +02:00
Thomas Schoebel-Theuer
0adab134ac Merge branch 'mars0.1.y' into mars0.1b.y 2017-07-05 07:48:08 +02:00
Thomas Schoebel-Theuer
239ab6f59f all: release mars0.1stable42 2017-07-05 07:38:15 +02:00