Commit Graph

785 Commits

Author SHA1 Message Date
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
Thomas Schoebel-Theuer
b1861be0a9 infa: add quick dent list for speedup 2019-07-10 11:27:37 +02:00