Commit Graph

849 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer
9e6fb4120c infra: deprecate ref_cs_mode 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
4501b80921 infra: categorize ref_initialized 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
d87fb27473 all: deprecate mref_skip_sync 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
40e72f9e7d all: deprecate mref_rw and mref_may_write 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
af89dba044 infra: prepare simplification of flags 2020-04-13 10:54:18 +02:00
Thomas Schoebel-Theuer
00834a2370 infra: introduce temporary bounce buffers 2020-04-13 10:54:18 +02:00
Thomas Schoebel-Theuer
3029876200 infra: de-inline log_scan() 2020-04-13 10:54:18 +02:00
Thomas Schoebel-Theuer
11358d0279 infra: disable say_logging by default 2020-04-13 10:52:38 +02:00
Thomas Schoebel-Theuer
bef8f30ab1 main: further reduce brick list traversals 2020-04-13 10:52:38 +02:00
Thomas Schoebel-Theuer
19d20567fd all: reduce brick list traversals 2020-04-13 10:52:38 +02:00
Thomas Schoebel-Theuer
343670b52d infra: remove superfluous parameter 2020-04-13 10:52:38 +02:00
Thomas Schoebel-Theuer
333760bc1a infra: simplify mars_kill_brick_when_possible() 2020-04-13 10:52:38 +02:00
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
2d9cab0461 server: reduce handler stack frame size 2020-04-13 09:55:19 +02:00
Thomas Schoebel-Theuer
24484a8749 server: reduce server 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
131b28e377 infra: introduce common_proto_level 2020-04-13 09:55:19 +02:00
Thomas Schoebel-Theuer
593ca2bb8f infra: allow mixed network protocol levels 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
cce2e21c08 infra: fix potential overflow in timeout return 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
7c454390e9 client: trigger after network shutdown or failure 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
f1d7caedfe copy: improve trigger 2020-02-10 09:35:29 +01:00
Thomas Schoebel-Theuer
506f57d04b logger: improve trigger 2020-02-10 09:35:29 +01:00
Thomas Schoebel-Theuer
41db4c33b4 infra: fix build with some old kernels 2020-01-31 08:07:12 +01:00
Thomas Schoebel-Theuer
fca091e087 aio: self-tune aio_max_nr when possible 2020-01-31 08:07:12 +01:00
Thomas Schoebel-Theuer
2c19adc550 all: fix race on wakeup 2020-01-30 09:36:06 +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
47b6ee5a1e logger: speed up thread termination 2020-01-28 14:07:34 +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
Thomas Schoebel-Theuer
ff5f129c9e main: discriminate input slot allocation reason 2020-01-28 08:49:16 +01:00
Thomas Schoebel-Theuer
a6487909aa client: allow polling on separate info_timeout 2020-01-27 16:01:16 +01:00
Thomas Schoebel-Theuer
7301fc976b main: make _set_copy_params() non-blocking 2020-01-27 16:00:08 +01:00
Thomas Schoebel-Theuer
f9a384ef8d infra: kill non-transient bricks after grace period 2020-01-27 16:00:08 +01:00
Thomas Schoebel-Theuer
56e1219787 main: make_copy switch needs to depend on precedecessors 2020-01-27 11:58:17 +01:00
Thomas Schoebel-Theuer
f446882efd main: make is_shutdown() non-blocking 2020-01-27 11:58:17 +01:00
Thomas Schoebel-Theuer
72c044b073 client: improve statistics 2020-01-27 11:58:17 +01:00
Thomas Schoebel-Theuer
0a220468b0 main: clear old err messages upon restart 2020-01-25 20:15:21 +01:00
Thomas Schoebel-Theuer
8019a43aa6 server: pimp handler_limit 2020-01-25 20:15:21 +01:00
Thomas Schoebel-Theuer
30509509a1 aio: further speedup event_thread termination 2020-01-25 20:15:13 +01:00
Thomas Schoebel-Theuer
d63b5e72b0 aio: stop submit_thread earlier 2020-01-24 17:44:04 +01:00
Thomas Schoebel-Theuer
ca3cda8a01 aio: speed up event_thread termination 2020-01-24 17:44:04 +01:00
Thomas Schoebel-Theuer
b1b812beaa aio: stop sync_thread earlier 2020-01-24 17:44:04 +01:00
Thomas Schoebel-Theuer
9d0db3beb7 client: avoid blocking for shutdown 2020-01-24 17:44:04 +01:00
Thomas Schoebel-Theuer
7618064cc4 client: count number of threads 2020-01-24 17:44:04 +01:00
Thomas Schoebel-Theuer
5179c28b91 client: earlier stop receiver thread 2020-01-24 17:44:03 +01:00
Thomas Schoebel-Theuer
76b2652554 Revert "Kconfig: remove dependency from m"
This reverts commit 19a8177af7.
2019-12-25 09:19:08 +01:00
Thomas Schoebel-Theuer
763f17a7d8 infra: allow multiple instances of lamport clock 2019-12-25 09:19:08 +01:00
Thomas Schoebel-Theuer
fddc6e491b infra: adapt to new include/linux/sched/signal.h 2019-12-25 09:19:08 +01:00
Thomas Schoebel-Theuer
ee05ff096e aio: adapt to upstream commit 2055da97389a605c8a00d163d40903afbe413921 2019-12-25 09:19:08 +01:00
Thomas Schoebel-Theuer
f8e552a21b net: ignore signals 2019-12-25 09:19:08 +01:00
Thomas Schoebel-Theuer
a18891fe3f infra: use new vfs_readlink 2019-12-25 09:19:08 +01:00
Thomas Schoebel-Theuer
73a4b330d1 all: adapt to kernel_{read,write} 2019-12-25 09:19:08 +01:00
Thomas Schoebel-Theuer
1af680f0bc infra: fix obsolete code
This should disappear in the long run.
Fix it for now.
2019-12-25 09:19:08 +01:00
Thomas Schoebel-Theuer
4f1e7ce362 if: adapt to new blk_queue_split() 2019-12-25 09:19:08 +01:00
Thomas Schoebel-Theuer
35b246a9fc if: fix noidle condition 2019-12-25 09:19:08 +01:00