Commit Graph

433 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer
a03d9dbad4 main: treat running sync as attached 2020-04-13 10:52:38 +02:00
Thomas Schoebel-Theuer
08c415130f main: create d_subtree when appropriate 2020-04-13 10:52:38 +02:00
Thomas Schoebel-Theuer
732cb14d83 infra: allow recursion on deletion pass 2020-04-13 10:52:38 +02:00
Thomas Schoebel-Theuer
cd3ceaccdc infra: allow recursion on backward pass 2020-04-13 10:52:38 +02:00
Thomas Schoebel-Theuer
54a22959e5 infra: allow recursion on forward pass 2020-04-13 10:52:38 +02:00
Thomas Schoebel-Theuer
59c9cedeeb infra: prepare subtree creation 2020-04-13 10:52:38 +02:00
Thomas Schoebel-Theuer
5e97d05ecb infra: introduce and obey d_subtree 2020-04-13 10:52:38 +02:00
Thomas Schoebel-Theuer
52fe09c3ca infra: remove obsolete d_global 2020-04-13 10:52:38 +02:00
Thomas Schoebel-Theuer
c9f7eebe24 infra: tune global hash 2020-04-13 09:55:19 +02:00
Thomas Schoebel-Theuer
e8238cb018 main: make mars_global fully dynamic 2020-04-13 09:55:19 +02:00
Thomas Schoebel-Theuer
8c94a285bf main: reduce peer_thread stack frame size 2020-04-13 09:55:19 +02:00
Thomas Schoebel-Theuer
aed146691a infra: add constructor for mars_global 2020-04-13 09:55:19 +02:00
Thomas Schoebel-Theuer
21b4874e30 infra: make dent protocol extensible 2020-04-13 09:55:19 +02:00
Thomas Schoebel-Theuer
0c5b5daa38 infra: {send,recv}ing mars_cmd via wrapper 2020-04-13 09:55:19 +02:00
Thomas Schoebel-Theuer
381b6489f6 main: split peer_thread code 2020-04-13 09:55:19 +02:00
Thomas Schoebel-Theuer
1cd77abe6d infra: re-trigger during brick deconstruction 2020-04-13 09:55:19 +02:00
Thomas Schoebel-Theuer
2cbd00d45f main: trigger at flipping 2020-04-13 09:55:19 +02:00
Thomas Schoebel-Theuer
1ff98125df main: trigger after peer connection is established 2020-04-13 09:55:19 +02:00
Thomas Schoebel-Theuer
794b49b976 main: full trigger when logrotate possible 2020-04-13 09:55:19 +02:00
Thomas Schoebel-Theuer
0268b3b6b9 infra: always deliver .deleted to remote 2020-04-13 09:22:19 +02:00
Thomas Schoebel-Theuer
96561ba0d3 main: userspace control for compat_deletions 2020-04-08 20:39:38 +02:00
Thomas Schoebel-Theuer
780cb41f1f infra: only warn on bad readlink 2020-04-08 20:39:38 +02:00
Thomas Schoebel-Theuer
b3fb3d3731 infra: obey MARS_DELETED_STR otherwise 2020-04-08 20:39:38 +02:00
Thomas Schoebel-Theuer
7d6bdf945f infra: new Lamport ordering method 2020-04-08 03:32:40 +02:00
Thomas Schoebel-Theuer
722d99487f all: remove unnecessary uid 2020-04-08 03:32:36 +02:00
Thomas Schoebel-Theuer
37348ba2c8 infra: allow ordered symlink creation 2020-04-08 03:32:34 +02:00
Thomas Schoebel-Theuer
570a429c73 main: obey DELETED_STR for non-existing targets 2020-04-08 03:32:26 +02:00
Thomas Schoebel-Theuer
e4a83b9461 infra: introduce ordered_readlink() 2020-04-06 15:14:11 +02:00
Thomas Schoebel-Theuer
2a19a82319 infra: small cleanup 2020-04-01 06:12:28 +02:00
Thomas Schoebel-Theuer
8097fe2971 infra: separate dent list retrieval for remote communication 2020-04-01 06:12:28 +02:00
Thomas Schoebel-Theuer
44ad0068cc infra: allow partially ordered dent lists 2020-04-01 06:12:28 +02:00
Thomas Schoebel-Theuer
29060936ed infra: safeguard interim removal 2020-03-28 13:10:02 +01:00
Thomas Schoebel-Theuer
c4b79885d1 infra: factor out tree scanning 2020-03-28 13:10:02 +01:00
Thomas Schoebel-Theuer
64e7f91474 infra: factor out backward pass 2020-03-28 13:10:01 +01:00
Thomas Schoebel-Theuer
d0aa3fa27b infra: factor out forward pass 2020-03-28 13:10:01 +01:00
Thomas Schoebel-Theuer
b32f01fbb3 infra: factor out removal phase code 2020-03-28 13:10:01 +01:00
Thomas Schoebel-Theuer
aa70e4e8c9 infra: factor out prep phase code 2020-03-28 13:10:01 +01:00
Thomas Schoebel-Theuer
628d564077 infra: split filler code 2020-03-28 13:10:01 +01:00
Thomas Schoebel-Theuer
3ab97f26b5 infra: allow fetching full dent info from peers 2020-03-26 20:16:39 +01:00
Thomas Schoebel-Theuer
5b8c0d50a3 main: allow primary --force for shortened logfiles 2020-03-26 20:16:39 +01:00
Thomas Schoebel-Theuer
83098ffe24 main: avoid races on remote time updates 2020-03-26 20:15:35 +01:00
Thomas Schoebel-Theuer
1d0f554d46 main: fix potential use-after-free race on replaylink 2020-03-05 21:31:16 +01:00
Thomas Schoebel-Theuer
de036d0b52 main: try to repair even old logfiles 2020-02-28 09:41:05 +01:00
Thomas Schoebel-Theuer
57612397c2 main: allow NULL argument of helper function 2020-02-28 09:41:05 +01:00
Thomas Schoebel-Theuer
acae344ccf main: try to self-repair damaged logfiles 2020-02-28 09:41:05 +01:00
Thomas Schoebel-Theuer
bc0be4fd19 infra: re-trigger when switching has not succeeded 2020-01-30 09:36:06 +01:00
Thomas Schoebel-Theuer
198ca61093 main: disable fetch during detach 2020-01-28 14:06:18 +01:00
Thomas Schoebel-Theuer
48fa210272 main: no logrotate during detach 2020-01-28 14:06:10 +01:00
Thomas Schoebel-Theuer
39c3f94b20 main: safeguard start of logger 2020-01-28 14:06:10 +01:00
Thomas Schoebel-Theuer
372563a975 main: do not try to become primary when detaching 2020-01-28 14:06:10 +01:00