Commit Graph

807 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer
c7f5451501 infra: prepare multiple digests 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
b448929f22 infra: increase digest size to 32 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
244b302ac0 infra: constify mars_digest_size 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
79b55514fc copy: stop upon short read 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
48c53bbe47 infra: account for truncated files 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
5d4f14c43d aio: fix internal race with callback 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
9b81d52ffd aio: fix short reads crossing EOF 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
56699c6bfb sio: fix KASAN use-after-free 2020-04-13 10:54:19 +02:00
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