Commit Graph

3657 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer
93e829f94e all: release mars0.1astable156 2022-09-17 17:23:02 +02:00
Thomas Schoebel-Theuer
fd62940ed1 main: fix recovery upon defective logfile without successor
Workaround was possible by manually providing an empty next logfile, forcing
an internal rotate operation. However, IMHO this should not be exposed to
userspace, but functionally migrated to kernelspace in the long term.

Otherwise, possible races between userspace and kernelspace may explode.
Control over logfiles content is not enough; even the sheer existence
should be the responsibility of kernel code (as much as possible).

Future fixes and improvements should go in this direction.
Thus I don't add an extra marsadm command for creation of empty
logfiles.

The current marsadm code in cron (and siblings) should be decommissioned
some day, after the kernel is fully responsible, even for create-resource
and so on.
2022-09-17 09:57:45 +02:00
Thomas Schoebel-Theuer
c1d74684ba all: release mars0.1astable155 2022-09-07 15:07:51 +02:00
Thomas Schoebel-Theuer
a4b63e4c63 all: deprecate statistics via say logging 2022-09-07 15:07:27 +02:00
Thomas Schoebel-Theuer
9bf9c8096a all: deprecate historic say logging 2022-09-07 14:14:37 +02:00
Thomas Schoebel-Theuer
04b1f38057 generic: avoid auto-creation of toplevel dir 2022-09-07 11:57:18 +02:00
Thomas Schoebel-Theuer
b0cf462ae6 if: move field capacity 2022-09-06 12:31:45 +02:00
Thomas Schoebel-Theuer
f0c8b588b1 all: release mars0.1astable154 2022-08-25 12:11:00 +02:00
Thomas Schoebel-Theuer
0179ee1e26 marsadm: show Recovery amount 2022-08-25 12:10:01 +02:00
Thomas Schoebel-Theuer
fc0acefca6 marsadm: improve amount calculations 2022-08-25 12:10:01 +02:00
Thomas Schoebel-Theuer
78e00b38b4 marsadm: remove straw dir creation 2022-08-25 12:10:01 +02:00
Thomas Schoebel-Theuer
4657b49248 main: modinfo reports new has_prepatch_v3 2022-08-25 12:09:13 +02:00
Thomas Schoebel-Theuer
34013933f0 lib_log: safeguard suspected coherence problems 2 2022-08-24 10:22:27 +02:00
Thomas Schoebel-Theuer
5c8ed6164f lib_log: safeguard suspected coherence problems 1 2022-08-24 10:22:27 +02:00
Thomas Schoebel-Theuer
b28b0dea99 sio: use new smp waiting 2022-08-24 10:22:27 +02:00
Thomas Schoebel-Theuer
fd8185e9c9 copy: use new smp waiting 2022-08-24 10:22:27 +02:00
Thomas Schoebel-Theuer
8689c40d70 aio: use new smp waiting 2022-08-24 10:22:27 +02:00
Thomas Schoebel-Theuer
ce9e76e5da bio: use new smp waiting 2022-08-24 10:22:27 +02:00
Thomas Schoebel-Theuer
5751b42b4d client: use new smp waiting 2022-08-24 10:22:27 +02:00
Thomas Schoebel-Theuer
301b9f215a server: use new smp waiting 2022-08-24 10:22:27 +02:00
Thomas Schoebel-Theuer
29307ceb1c brick: use new smp waiting 2022-08-24 10:22:27 +02:00
Thomas Schoebel-Theuer
cc55f2fdf4 mapfree: use new smp waiting 2022-08-24 10:22:27 +02:00
Thomas Schoebel-Theuer
2fb55213a3 lib_log: use new smp waiting 2022-08-24 10:22:27 +02:00
Thomas Schoebel-Theuer
4c600a1f89 main: use new smp waiting 2022-08-24 10:22:27 +02:00
Thomas Schoebel-Theuer
c4ee653679 generic: use new smp waiting 2022-08-24 10:22:26 +02:00
Thomas Schoebel-Theuer
f33c330109 say: use new smp waiting 2022-08-24 10:22:26 +02:00
Thomas Schoebel-Theuer
c116837aad infra: new smp versions of brick locking
inteded: compatible to kernel upstream,
but additional smp_.?mb() as necessary
2022-08-24 10:22:26 +02:00
Thomas Schoebel-Theuer
37078c9800 infra: add suffix _flagged to historic bick waiting 2022-08-24 10:22:26 +02:00
Thomas Schoebel-Theuer
677a8b4e1e doc: add slides from FrOSCon 2022 2022-08-22 06:51:24 +02:00
Thomas Schoebel-Theuer
c43ecb12c5 all: release mars0.1astable153 2022-08-16 19:10:38 +02:00
Thomas Schoebel-Theuer
a5efedcf46 marsadm: do not report peernames too often 2022-08-16 19:08:27 +02:00
Thomas Schoebel-Theuer
98c559eef7 marsadm: cron unlinks historic .tmp.* 2022-08-16 19:08:27 +02:00
Thomas Schoebel-Theuer
095b96620d marsadm: view additional mount info when possible 2022-08-16 19:08:27 +02:00
Thomas Schoebel-Theuer
a505a391b5 server: safeguard unexpected socket destruction 2022-08-16 19:08:27 +02:00
Thomas Schoebel-Theuer
03876c40eb server: safeguard underneath socket destruction 2022-08-16 19:08:27 +02:00
Thomas Schoebel-Theuer
4406b649af net: remember detected snd state transitions 2022-08-16 09:53:35 +02:00
Thomas Schoebel-Theuer
1fe3ff7c89 net: remember detected rcv state transitions 2022-08-16 09:53:35 +02:00
Thomas Schoebel-Theuer
bd0445ffce net: fix long-lasting rcv timeouts upon lost sockets 2022-08-16 09:53:35 +02:00
Thomas Schoebel-Theuer
19aea1fc59 net: fix long-lasting snd timeouts upon lost sockets 2022-08-16 09:53:35 +02:00
Thomas Schoebel-Theuer
701963fe28 net: factor out SS_CONNECTED state checking and add SS_CONNECTING 2022-08-16 09:53:35 +02:00
Thomas Schoebel-Theuer
fdb0b598b0 Kbuild: add KERNELRELEASE to MARS' buildtag 2022-08-16 09:53:35 +02:00
Thomas Schoebel-Theuer
196e486dd5 compat: adapt Kconfig help format to newer kernels 2022-08-16 09:53:35 +02:00
Thomas Schoebel-Theuer
c3cf062fb6 proc: new trigger interface
Necessary for kernels >= 5.8.x.

It should also work with old kernels.
2022-08-16 09:53:35 +02:00
Thomas Schoebel-Theuer
f92a44ecfa copy: safeguard against strange compiler warnings 2022-08-01 15:03:38 +02:00
Thomas Schoebel-Theuer
0213d4d461 all: include linux/pagemap.h for newer kernels 2022-08-01 14:47:59 +02:00
Thomas Schoebel-Theuer
bc2545bc98 mapfree: remove alpha-specific code, since 31bb5cb18 2022-08-01 13:21:23 +02:00
Thomas Schoebel-Theuer
c99aded79b all: release mars0.1astable152 2022-08-01 10:33:20 +02:00
Thomas Schoebel-Theuer
6bfea07da4 marsadm: correct view-disk-size upon stray actsize links 2022-08-01 10:28:50 +02:00
Thomas Schoebel-Theuer
b84dd97cab marsadm: obey --dry-run at resize 2022-08-01 09:55:39 +02:00
Thomas Schoebel-Theuer
91fd1e8f76 marsadm: fix resize upon stray actsize links 2022-08-01 09:49:07 +02:00