Commit Graph

651 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer
3ac5311e48 main: ratelimit double logfile err msg 2022-04-02 18:55:19 +02:00
Thomas Schoebel-Theuer
0c69984318 all: remove historic workaround
See 495490f4b6

The kernel does not really need this, only
in very special situations, and only when the old
ssh-based method is working as a substotite of the
modern push operations.

Essentially, this was a workaround for a workaround.

Remove this for reduction of unnecessary complexity.
2022-03-26 19:54:48 +01:00
Thomas Schoebel-Theuer
59170f2a9d marsadm: add total-space 2022-03-11 16:19:18 +01:00
Thomas Schoebel-Theuer
2feb959d71 all: remove obsolete do_crc
This MUST be always on.

Do not bother with a stone-aged testing option, which never worked.
2022-02-24 23:32:21 +01:00
Thomas Schoebel-Theuer
86952b7f07 marsadm: deprecate *-connect-pref-list and fix docs 2022-02-19 11:38:51 +01:00
Thomas Schoebel-Theuer
7bb15152dc main: skip propagation of unwanted dirs 2022-01-29 22:02:12 +01:00
Thomas Schoebel-Theuer
bec3ebf006 infra: fix potential endless loop
Thisd unlikely, but may happen when /mars is defective.
2022-01-29 22:02:12 +01:00
Thomas Schoebel-Theuer
707dc32c54 main: better warning at cluster UUID mismatch 2022-01-29 22:02:12 +01:00
Thomas Schoebel-Theuer
57db375ffb main: workaround and report race between modprobe and mount
AFICS this is actually caused by races produced by USERSPACE.
2022-01-29 22:02:12 +01:00
Thomas Schoebel-Theuer
c6d77a88f3 main: fix push loop 2022-01-29 22:02:12 +01:00
Thomas Schoebel-Theuer
483ac990ce main: fix secondary reaction on primary crash 2021-10-07 07:44:22 +02:00
Thomas Schoebel-Theuer
0b3b421b81 main: fix primary crash versionlink 2021-10-07 07:43:50 +02:00
Thomas Schoebel-Theuer
09c2071313 main: allow forced link updates 2021-10-07 07:35:23 +02:00
Thomas Schoebel-Theuer
d18290d1f9 copy: remove redundant inputs 2021-07-15 11:20:51 +02:00
Thomas Schoebel-Theuer
13a0b35f31 main: report presence of prepatches v2 versus v1 2021-04-22 13:50:16 +02:00
Thomas Schoebel-Theuer
6692189b7c main: fix annoying error msg 2021-04-19 10:27:08 +02:00
Thomas Schoebel-Theuer
e416e99b4c main: safeguard message generation 2021-03-16 11:59:38 +01:00
Thomas Schoebel-Theuer
be50f1d743 main: fix uninitialized pointer 2021-03-16 11:59:37 +01:00
Thomas Schoebel-Theuer
059f83b726 main: report reasons for sync vs replay alternations 2021-03-02 10:12:56 +01:00
Thomas Schoebel-Theuer
14e4d8f2cf main: prevent logrotate to pass by during sync 2021-03-02 10:12:56 +01:00
Thomas Schoebel-Theuer
a615ef907b main: safeguard creation of orphaned files 2021-03-02 10:12:53 +01:00
Thomas Schoebel-Theuer
9491714e28 infra: safeguard hash_fn 2021-03-01 13:05:17 +01:00
Thomas Schoebel-Theuer
1920411c46 infra: adat to removal of user_lpath 2021-02-10 13:36:06 +01:00
Thomas Schoebel-Theuer
d0c5b5699f all: adapt to removal of get_ds()
See 736706bee3298208343a76096370e4f6a5c55915
2021-02-10 13:36:06 +01:00
Thomas Schoebel-Theuer
b85bc0f576 all: adapt to removal of current_kernel_time64() 2021-02-10 13:36:06 +01:00
Thomas Schoebel-Theuer
2bf49d5a64 infra: comply to ISO C90
block/mars/kernel/sy_old/sy_generic.c:3164:2: warning: ISO C90 forbids variable length array ‘paths’ [-Wvla]
2021-02-10 13:36:06 +01:00
Thomas Schoebel-Theuer
0d885eeef8 main: adapt to time64_t 2021-02-10 13:36:06 +01:00
Thomas Schoebel-Theuer
dbdb5a5f95 proc: adapt time64_t 2021-02-10 13:36:06 +01:00
Thomas Schoebel-Theuer
cc2af4a024 infra: adapt to time64_t 2021-02-10 13:36:06 +01:00
Thomas Schoebel-Theuer
28a3a7c5fd compat: HAS_VFS_READDIR => MARS_HAS_ITERATE_DIR
iterate_dir() should be the new default, while vfs_readdir()
is a deprecated exception.
2021-02-10 13:36:06 +01:00
Thomas Schoebel-Theuer
9c6fbb8fc6 main: adapt to s64 2021-02-10 13:36:06 +01:00
Thomas Schoebel-Theuer
bf80eae6aa compat: move detection to compat.h 2021-02-10 13:36:06 +01:00
Thomas Schoebel-Theuer
c1820e0783 main: dont replay beyond primary during sync 2021-02-07 19:33:06 +01:00
Thomas Schoebel-Theuer
8a04c4cbae main: fix sync starvation
Commit e20800c47c did too much:
replay may take total preference when there is a permanent
write load.

Only prefer replay when there are multiple logfiles.
2021-02-06 15:22:24 +01:00
Thomas Schoebel-Theuer
a77b8d1190 main: assure minimum sync progress 2021-02-06 15:22:23 +01:00
Thomas Schoebel-Theuer
ef2997206b main: update syncstatus more frequently 2021-02-06 15:08:07 +01:00
Thomas Schoebel-Theuer
133ff979b5 bio: allow throttling for testing 2021-02-06 15:08:07 +01:00
Thomas Schoebel-Theuer
57eaf3c66b main: fix typo 2021-01-19 15:07:04 +01:00
Thomas Schoebel-Theuer
9442916de2 main: local systemd_trigger 2020-12-22 08:58:02 +01:00
Gabriel Francisco
7b49ae9dde compat: fix parent dir locking 2020-11-30 05:26:57 +00:00
Thomas Schoebel-Theuer
545c5c6001 main: fix hostname prefix matching 2020-11-26 10:07:04 +01:00
Thomas Schoebel-Theuer
e20800c47c main: fix hanging replay progress during long-lasting sync 2020-11-25 16:48:37 +01:00
Thomas Schoebel-Theuer
448a4906d0 infra: fix ordered_readlink return status 2020-11-21 09:44:29 +01:00
Thomas Schoebel-Theuer
d786006974 main: improved rmmod debugging 2020-11-20 09:42:37 +01:00
Thomas Schoebel-Theuer
78376caa1a all: fix race on activate_peer 2020-11-20 09:42:35 +01:00
Thomas Schoebel-Theuer
4797219f7e main: smarter activation of new oneshot peers 2020-11-10 16:04:01 +01:00
Thomas Schoebel-Theuer
bf4343e1bb main: testing of new ssh-free methods 2020-11-10 16:04:01 +01:00
Thomas Schoebel-Theuer
a12717518b main: determine marsadm versions globally in the cluster 2020-11-10 16:04:01 +01:00
Thomas Schoebel-Theuer
54cb4605d0 all: bump versions 2020-11-10 16:04:01 +01:00
Thomas Schoebel-Theuer
8b507da75e main: simplify new resolv method 2020-11-07 08:34:57 +01:00