Commit Graph

3586 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer
e380aea93f infra: make msleep_backoff() interruptible 2023-01-18 18:41:14 +01:00
Thomas Schoebel-Theuer
3c77a0fdf6 mem: separated compile of CONFIG_MARS_DEBUG_* 2022-12-21 08:56:33 +01:00
Thomas Schoebel-Theuer
ab703baa41 all: release mars0.1astable158 2022-12-02 22:42:11 +01:00
Thomas Schoebel-Theuer
8594d13d14 infra: move brick_say inclusion 2022-12-02 22:42:11 +01:00
Thomas Schoebel-Theuer
c45faff9d6 mem: silence build warning 2022-12-02 22:41:53 +01:00
Thomas Schoebel-Theuer
46af5a6d09 infra: remove obsolete LOCK_CHECK 2022-12-02 22:36:39 +01:00
Thomas Schoebel-Theuer
cce814ab23 main: compile without EXPORT_SYMBOL(min_free_kbytes) 2022-12-02 22:36:39 +01:00
Thomas Schoebel-Theuer
09412a052e mem: silence annoying compiler warning
The compiler will optimize this away upon certain combinations of
Kconfig settings.
2022-12-02 22:17:36 +01:00
Thomas Schoebel-Theuer
5a6cfa7798 copy: replace st->prev with computation 2022-12-02 22:17:36 +01:00
Thomas Schoebel-Theuer
2740de0422 copy: safeguard coercions 2022-12-02 22:17:36 +01:00
Thomas Schoebel-Theuer
40e0fdd519 copy: v2 limit via MAX_ACTIVE_AREA 2022-12-02 22:17:36 +01:00
Thomas Schoebel-Theuer
9804d7456e copy: v2 stable_copy{start,end} 2022-12-02 22:17:36 +01:00
Thomas Schoebel-Theuer
5efeb7545b copy: length and offset paranoia for debugging 2022-12-02 22:17:36 +01:00
Thomas Schoebel-Theuer
60b1f238d7 copy: safeguard prev 2022-12-02 22:17:36 +01:00
Thomas Schoebel-Theuer
9701b0b0cc copy: optimize ref_len 2022-12-02 22:17:36 +01:00
Thomas Schoebel-Theuer
a72af6a9e3 copy: introduce brick shutdown phase with timeout 2022-12-02 22:17:33 +01:00
Thomas Schoebel-Theuer
986dddcb7f aio: trigger upon shutdown 2022-12-02 22:17:25 +01:00
Thomas Schoebel-Theuer
885ab25599 client: trigger upon shutdown 2022-12-02 22:17:25 +01:00
Thomas Schoebel-Theuer
0a2d1258b7 logger: trigger upon shutdown 2022-12-02 22:17:25 +01:00
Thomas Schoebel-Theuer
b4778909a2 generic: round up object allocations to possible cache lines 2022-11-28 16:07:59 +01:00
Thomas Schoebel-Theuer
b05dddc640 if: safeguard potential clashes on congestion_fn users 2022-11-28 14:08:36 +01:00
Thomas Schoebel-Theuer
dda10579ff all: release mars0.1astable157 2022-10-15 07:13:35 +02:00
Thomas Schoebel-Theuer
5b2198e81d doc: explain new primitive global-sync-limit-value 2022-10-15 07:07:23 +02:00
Thomas Schoebel-Theuer
f840c6604d marsadm: view displays new macro global-sync-limit-value 2022-10-15 07:07:23 +02:00
Thomas Schoebel-Theuer
43e7d44991 proc: remove stray line 2022-10-15 07:07:23 +02:00
Thomas Schoebel-Theuer
950569a932 generic: remove stray definition 2022-10-15 07:07:23 +02:00
Thomas Schoebel-Theuer
82a8c778de mem: silence annoying stacktraces via __GFP_NOWARN 2022-10-15 07:06:31 +02:00
Thomas Schoebel-Theuer
c2226180dd Kbuild: reduce cyclic dependencies
make headerdep now appears to cause less consecutive problems ;)

Unfortunately, this should run on top of a variety of kernel versions,
so I just try my best here.
2022-10-04 15:45:53 +02:00
Thomas Schoebel-Theuer
07acef8d1d generic: avoid unnecessary mkdir() 2022-10-04 15:42:53 +02:00
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