Commit Graph

1086 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer
c31efa006a main: wait until logger fully stopped before starting again 2020-07-11 19:02:57 +02:00
Thomas Schoebel-Theuer
be5e9aa5ae main: fix recovery resync 2020-07-11 19:02:57 +02:00
Thomas Schoebel-Theuer
f6335e4625 main: safeguard more pointers 2020-07-11 19:02:57 +02:00
Thomas Schoebel-Theuer
76e0dfba07 main: better crash debugging 2020-07-11 09:56:33 +02:00
Thomas Schoebel-Theuer
64a915aafb main: fix detach corner case 2020-07-08 22:14:15 +02:00
Thomas Schoebel-Theuer
3afad273fd infra: also send prot level over dents 2020-07-08 22:14:03 +02:00
Thomas Schoebel-Theuer
e02bd88349 infra: fix proto_level conditions 2020-07-08 22:10:08 +02:00
Thomas Schoebel-Theuer
48a72c6bb4 infra: bump MARS_PROTO_LEVEL for dent proto compatibility 2020-07-08 21:22:04 +02:00
Thomas Schoebel-Theuer
5071b3d0b2 infra: remember Lamport stamp of remote link tree 2020-07-08 21:09:39 +02:00
Thomas Schoebel-Theuer
e551b6d89f infra: make Lamport exchange more generic 2020-07-08 21:09:39 +02:00
Thomas Schoebel-Theuer
8a062ee2db infra: fix io_timeout of copy bricks 2020-07-08 21:09:39 +02:00
Thomas Schoebel-Theuer
ea4fbc1885 all: remove superfluous dealloc tests and clears 2020-07-08 21:00:05 +02:00
Thomas Schoebel-Theuer
ceebaf04e5 infra: safeguard double free 2020-07-08 21:00:05 +02:00
Thomas Schoebel-Theuer
92df0da748 infra: fix NULL deref on empty dents 2020-07-05 09:32:23 +02:00
Thomas Schoebel-Theuer
dc9324a7a6 if: do not report IO errors at bio level 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
513560af8b infra: strengthen trigger semantics 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
a698f42f24 main: remote trigger when logger stops 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
16b5209a0d main: immediately fetch next logfile 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
97394a9336 infra: use cond_resched() 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
f7dbb5c0d0 server: replace spinlock with mutex 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
37da08d6a4 server: new thread naming conventions 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
6d4ba66d55 infra: remove obsolete show_status() 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
fc33aada95 main: simplify _show_actual 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
29ef7aef12 main: remove deprecated _show_status_all() 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
9bad724f50 infra: power override only for on transition 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
3b87d70162 main: keep bio brick when logger exists 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
35ca2b9f76 client: fix error path 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
a7fd123dd6 client: make statistics accessible via brick instance 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
101a0d7b90 client: add socket_count reporting 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
e83aab57f7 infra: fix brick power override 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
4a7905cf8e server: safeguard double free 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
a8b91e2d8a net: fix decompression block-aligned allocation 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
f9c1c6f536 main: always recover versionlink at primary 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
e98b6692ff main: fix hanging recovery in corner cases 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
de01dc4d66 main: skip sequence checking during recovery 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
34f3dec11d main: fix logrotate link creation races 2020-06-30 21:07:06 +02:00
Thomas Schoebel-Theuer
d16278bb79 infra: auto-repair illegal link stamps too far in the future 2020-05-29 20:59:16 +02:00
Thomas Schoebel-Theuer
d0dcec57b1 net: suppress annoying error message 2020-05-17 07:38:23 +02:00
Thomas Schoebel-Theuer
ff4429708e infra: fix mem leak 2020-05-07 11:44:34 +02:00
Thomas Schoebel-Theuer
804e8c901c main: remove some dead code 2020-05-02 22:31:48 +02:00
Thomas Schoebel-Theuer
1e59e306a0 infra: constify digest data param 2020-05-02 22:31:48 +02:00
Thomas Schoebel-Theuer
81ef3c2d77 main: secondary follows damaged primary when possible 2020-05-02 22:31:48 +02:00
Thomas Schoebel-Theuer
a9366c34c4 main: self-correct damaged versionlink at secondary 2020-05-01 11:16:10 +02:00
Thomas Schoebel-Theuer
00474b1307 main: allow versionlink recovery for secondaries 2020-05-01 11:14:44 +02:00
Thomas Schoebel-Theuer
df6a5edaac main: show if error code 2020-04-13 11:24:02 +02:00
Thomas Schoebel-Theuer
1c6a89f70b if: report error codes 2020-04-13 11:24:02 +02:00
Thomas Schoebel-Theuer
0523705eb6 main: report flying requests at if 2020-04-13 11:24:01 +02:00
Thomas Schoebel-Theuer
c2fed92879 main: show rate statistics on if 2020-04-13 11:24:01 +02:00
Thomas Schoebel-Theuer
ec8cfc0239 if: compute rate statistics 2020-04-13 11:24:01 +02:00
Thomas Schoebel-Theuer
628c636dff all: distinguish *_ops_* from *_amount_* at limiter 2020-04-13 11:24:01 +02:00
Thomas Schoebel-Theuer
b5209337a9 main: factor out open_count statistics 2020-04-13 11:24:01 +02:00
Thomas Schoebel-Theuer
873421b7f2 if: factor out bio_endio adaptations 2020-04-13 11:24:01 +02:00
Thomas Schoebel-Theuer
6e760727c4 all: bump features version 2020-04-13 11:21:17 +02:00
Thomas Schoebel-Theuer
3269cb8482 logger: fix scan beyond EOF after truncated logfile 2020-04-13 11:21:17 +02:00
Thomas Schoebel-Theuer
8a86c08750 net: correct error message 2020-04-13 11:21:17 +02:00
Thomas Schoebel-Theuer
ffcc691efd server: enable callback compression 2020-04-13 11:21:17 +02:00
Thomas Schoebel-Theuer
8a1b745d4f client: enable compressions 2020-04-13 11:21:17 +02:00
Thomas Schoebel-Theuer
95883b055c infra: allow transport compression 2020-04-13 11:21:17 +02:00
Thomas Schoebel-Theuer
66d6659462 net: simplify mars_recv_cb() 2020-04-13 11:21:16 +02:00
Thomas Schoebel-Theuer
4256cc17a1 net: simplify mref sending 2020-04-13 11:21:16 +02:00
Thomas Schoebel-Theuer
bcf006ab21 infra: add zlib compression 2020-04-13 11:21:16 +02:00
Thomas Schoebel-Theuer
6e55a6da95 infra: exploit new lz4 interface 2020-04-13 11:21:16 +02:00
Thomas Schoebel-Theuer
8daeadb061 infra: add LZ4 compression 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
a4221ada11 infra: add LZO compression 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
3d06881801 infra: prepare compressed logfiles 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
375ae7c84b infra: add compression infrastructure 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
2d35812d50 main: allow disabling of digests 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
e938add256 main: compute worst features version in cluster 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
fb719db887 infra: report available features and digests 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
1ebf6852be main: update some links lazily 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
e78d726a70 infra: allow lazy alivelink updates 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
692cb442c8 infra: separate feature version for strategy layer 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
6f1e8f46b3 infra: stringify feature version 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
6f3f46249e infra: allow sha1 algorithm 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
3812467c32 infra: allow crc32{,c} algorithms 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
ad2a644081 infra: new longer MD5 checksums 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
e9cc594b69 infra: flexible mref_checksum 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
49775c05ca log: prepare folding of longer digests 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
e243706eb1 log: remove unused l_written 2020-04-13 10:54:19 +02:00
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
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
Thomas Schoebel-Theuer
93d7ed2a3d if: adapt to BIO_THROTTLED 2019-12-25 09:19:08 +01:00
Thomas Schoebel-Theuer
8ff8b9609c if: adapt to block layer changes 2019-12-25 09:19:08 +01:00
Thomas Schoebel-Theuer
4e087abc38 if: adapt to generic io accounting 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
c8ab80d0d0 infra: adapt to mm code move 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
d5f07017e1 if: adapt to upstream bi_status 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
2176f6ee13 bio: adapt to REQ_IDLE in place of NOIDLE 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
e2d37327cd bio: adapt to bio_set_dev 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
b4a1b6f900 bio: adapt to upstream bi_status 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
b2d3433b21 bio: fix REQ_SYNC usage 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
1dcd705e16 infra: adapt to block layer changes, kernel 4.11 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
d09ab9ab1e infra: convert limited to lamport_time 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
9c4a100937 infra: convert lib_timing to lamport_time 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
222f048937 all: adapt to new timespec64 type 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
b3dc438f1d infra: use new crypto interface with earlier kernels 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
39eaa78c58 all: new MARS_HAS naming conventions 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
ccd0063da6 infra: move crypto compat check 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
a8766f3016 net: move compat check 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
764399d262 net: move compat check 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
9b55c64bb1 if: move compat check 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
95550cb0c9 if: move and split compat check 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
baf14f5b22 if: move and merge compat check with bio 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
873ae4de56 if: move compat check 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
f11b7d680c if: move compat check 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
0244c27a5d bio: move compat check 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
d1dcca213f bio: move compat check 2019-12-25 09:19:06 +01:00
Thomas Schoebel-Theuer
3a397ac00e bio: move compat check 2019-12-25 09:19:06 +01:00
Thomas Schoebel-Theuer
c21465b462 compat: prepare moving compat checks 2019-12-25 09:19:06 +01:00
Thomas Schoebel-Theuer
8b0d52e705 server: remove deprecated loadavg quirk 2019-12-25 09:19:06 +01:00
Thomas Schoebel-Theuer
9a17bfb37d all: unify HAS_ naming conventions 2019-12-25 09:19:06 +01:00
Thomas Schoebel-Theuer
b0ec727e50 client: limit for testing 2019-12-25 09:17:56 +01:00
Thomas Schoebel-Theuer
df9173225b if: remote trigger upon open/close 2019-12-25 09:17:56 +01:00
Thomas Schoebel-Theuer
a0fb789f75 mem: dissolve code duplication 2019-12-25 09:17:56 +01:00
Thomas Schoebel-Theuer
50de5e6882 main: directly trigger any peer after communication startup 2019-12-25 09:17:56 +01:00
Thomas Schoebel-Theuer
ffa80b0973 main: pause primary role activation after modprobe 2019-12-25 09:17:56 +01:00
Thomas Schoebel-Theuer
ddff7757d6 infra: restart failed kthread creation 2019-12-25 09:17:56 +01:00
Thomas Schoebel-Theuer
e54cab1f95 infra: safeguard signals interfering with kthreads 2019-12-25 09:17:56 +01:00
Thomas Schoebel-Theuer
9c00104b28 infra: make id static 2019-11-26 07:05:06 +01:00
Thomas Schoebel-Theuer
791b604c5c if: fix race betweem flying_count and open_count 2019-11-26 07:05:06 +01:00
Thomas Schoebel-Theuer
9e415e75e9 if: move flying_count from input to brick instance 2019-11-26 07:05:06 +01:00
Thomas Schoebel-Theuer
fbe199db71 main: improve switchover checking 2019-11-26 07:04:06 +01:00
Thomas Schoebel-Theuer
9df4906ffb main: forced bypass needs to create new logfile 2019-11-25 15:29:09 +01:00
Thomas Schoebel-Theuer
3a77e858bf infra: discriminate tmp memleak from final MEMLEAK 2019-11-10 06:03:50 +01:00
Thomas Schoebel-Theuer
2635ffe15d main: safeguard start_sync 2019-11-09 23:37:02 +01:00
Thomas Schoebel-Theuer
a539fd3b48 infra: fix dent list unlinking 2019-11-09 23:37:02 +01:00
Thomas Schoebel-Theuer
f7223f8c22 infra: fix dent mem leak 2019-11-09 23:37:02 +01:00
Thomas Schoebel-Theuer
a7c994acf8 infra: remove unnecessary compile restriction
The corresponding bug has been fixed a while ago.
So this should no longer be necessary.
2019-11-05 19:11:05 +01:00
Thomas Schoebel-Theuer
19a8177af7 Kconfig: remove dependency from m 2019-11-05 19:11:05 +01:00
Thomas Schoebel-Theuer
2fdc22f780 main: rest space computation obeys writeback 2019-11-05 19:11:05 +01:00
Thomas Schoebel-Theuer
87963f672e infra: safeguard disk space computation 2019-11-05 19:11:05 +01:00
Thomas Schoebel-Theuer
303bcb1fec main: disable throttling by default
This may hurt application performance.
2019-11-05 19:10:47 +01:00
Thomas Schoebel-Theuer
5263e058ea if: less default throttling 2019-11-05 15:24:07 +01:00
Thomas Schoebel-Theuer
9ab6c1f603 main: fix primary versionlink after crash 2019-11-05 15:24:07 +01:00
Thomas Schoebel-Theuer
c9c0011ea4 main: also fetch peer-specific directories 2019-08-06 08:02:42 +02:00
Thomas Schoebel-Theuer
584b574431 main: fix missing scan of defaults/ 2019-08-06 08:02:42 +02:00
Thomas Schoebel-Theuer
6bb742ec7a main: fetch forgotten defaults/ directory 2019-08-06 08:02:42 +02:00
Thomas Schoebel-Theuer
83282a854d main: make global path list maintainable 2019-08-06 08:02:42 +02:00
Thomas Schoebel-Theuer
af111b7dd6 main: fix primary --force on incomplete logfiles 2019-08-06 08:02:42 +02:00
Thomas Schoebel-Theuer
d9444a0c51 main: simplify switch testing 2019-08-06 08:02:42 +02:00
Thomas Schoebel-Theuer
b533bb7a06 logger: increase hash constants 2019-07-18 12:36:45 +02:00
Thomas Schoebel-Theuer
b1c3602f93 logger: fix potential infinite memory allocation 2019-07-18 11:12:47 +02:00
Thomas Schoebel-Theuer
b2d18bdfbf logger: more testing 2019-07-18 11:12:47 +02:00
Thomas Schoebel-Theuer
900ed3cbd8 infra: speed up by dent hashing 2019-07-10 11:27:37 +02:00
Thomas Schoebel-Theuer
ee08ab587e infra: introduce hash_table and hash_link 2019-07-10 11:27:37 +02:00