Commit Graph

642 Commits

Author SHA1 Message Date
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
Thomas Schoebel-Theuer
930d33e338 infra: prepare dent quick_list speedup 2019-07-10 11:27:37 +02:00
Thomas Schoebel-Theuer
0c1d47b955 client: speed up timeouting 2019-07-10 11:27:37 +02:00
Thomas Schoebel-Theuer
ee1e1ab1bb EOL: fully merge branch 'mars0.1.y' into mars0.1a.y 2019-07-10 11:26:15 +02:00
Thomas Schoebel-Theuer
d7d03981c2 logger: allow pressure disabling for testing only 2019-06-26 11:00:17 +02:00
Thomas Schoebel-Theuer
c922bafa52 infra: additional global mem limit 2019-06-26 11:00:17 +02:00
Thomas Schoebel-Theuer
5be66cacb2 logger: make update_interval configurable 2019-06-26 11:00:17 +02:00
Thomas Schoebel-Theuer
30e3e073a1 logger: avoid writeback starvation by minimum update speed 2019-06-26 11:00:17 +02:00
Thomas Schoebel-Theuer
14d6e84fed infra: remove dead code 2019-06-26 10:57:27 +02:00
Thomas Schoebel-Theuer
996d9c3f1a Merge branch 'mars0.1.y' into mars0.1a.y 2019-04-16 10:12:03 +02:00
Thomas Schoebel-Theuer
25fde8b5f9 aio: fix potential race on fd 2019-04-16 09:20:49 +02:00
Thomas Schoebel-Theuer
8e1b163936 aio: fix forgotten upstream init for get_unused_fd() 2019-04-16 09:20:49 +02:00
Thomas Schoebel-Theuer
20fc88fed9 aio: fix potential race at get_unused_fd() 2019-04-16 09:20:48 +02:00
Thomas Schoebel-Theuer
d58c4f317d aio: safeguard against RLIMIT_NOFILE
When setting RLIMIT_NOFILE to ridicuously wrong values, it was possible
to get an endless loop.
2019-04-16 09:20:48 +02:00
Thomas Schoebel-Theuer
abf5b84b6d Merge branch 'mars0.1.y' into mars0.1a.y 2019-04-06 20:09:26 +02:00
Thomas Schoebel-Theuer
867be8a743 logger: fix writeback in pressure mode 2019-04-06 19:55:57 +02:00
Thomas Schoebel-Theuer
3320529ffb logger: rename old floating_mode to pressure_mode 2019-04-06 19:55:57 +02:00
Thomas Schoebel-Theuer
620e460471 Revert "logger: fix writeback in non-floating mode"
This reverts commit 079a5f7714.
2019-04-06 19:55:57 +02:00
Thomas Schoebel-Theuer
88ed66efe1 Merge branch 'mars0.1.y' into mars0.1a.y 2019-03-12 12:50:54 +01:00
Thomas Schoebel-Theuer
5b2672e211 logger: reduce atomic_t overhead for production 2019-03-12 12:47:25 +01:00
Thomas Schoebel-Theuer
079a5f7714 logger: fix writeback in non-floating mode 2019-03-12 12:47:25 +01:00
Thomas Schoebel-Theuer
025ffbb09d Merge branch 'mars0.1.y' into mars0.1a.y 2019-03-06 07:25:43 +01:00
Thomas Schoebel-Theuer
388015ae37 mem: reproducible builds on newer compilers 2019-03-02 22:14:15 +01:00
Thomas Schoebel-Theuer
6773712672 if: fix bio_get stack corruption when bio is on stack
I am unsure whether this might break compatibility to some
very ancient kernels.

AFAICR, it could have been needed long ago, when some old 32bit
kernels needed kmap().

Anyway, I don't have those old kernels anymore.
2019-03-02 22:14:14 +01:00
Thomas Schoebel-Theuer
3634da40b1 Merge branch 'mars0.1.y' into mars0.1a.y 2019-02-19 07:27:51 +01:00
Thomas Schoebel-Theuer
05e17fb881 aio: adapt to upstream commit 723c038475b78edc9327eb952f95f9881cc9d7 2019-02-19 07:26:32 +01:00
Thomas Schoebel-Theuer
0d48be8a7e compat: adapt to 5955102c9984fa081b2d570cfac75c97eecf8f3b 2019-02-19 07:26:32 +01:00
Thomas Schoebel-Theuer
70f844da98 infra: fix wrong version detection 2019-02-19 07:26:32 +01:00
Thomas Schoebel-Theuer
312660c598 all: adapt to block layer changes, kernel 4.8 2019-02-19 07:26:32 +01:00
Thomas Schoebel-Theuer
ffb07986a0 infra: make KASAN happy 2019-02-19 07:26:31 +01:00
Thomas Schoebel-Theuer
c05978bdcc main: flip sync only when advancing 2019-02-12 11:27:49 +01:00
Thomas Schoebel-Theuer
a6fbb93394 copy: fix race on shutdown 2019-02-12 11:27:40 +01:00
Thomas Schoebel-Theuer
5ad1645de9 Merge branch 'mars0.1.y' into mars0.1a.y 2019-02-12 11:26:58 +01:00
Thomas Schoebel-Theuer
b465105a18 main: fix if shutdown race with writeback 2019-02-12 11:02:06 +01:00
Thomas Schoebel-Theuer
ce456788a4 if: propagate real physical and logical sector sizes 2019-02-12 11:02:06 +01:00
Thomas Schoebel-Theuer
45d3ff4226 if: remember info 2019-02-12 11:02:06 +01:00
Thomas Schoebel-Theuer
ee580d6aa8 bio: get real physical and logical sector sizes 2019-02-12 11:02:06 +01:00
Thomas Schoebel-Theuer
a1dc791412 main: fix detach during sync when names are changing 2019-02-12 11:02:06 +01:00
Thomas Schoebel-Theuer
ad69d1cf79 lib_log: also convert to brick_wait 2019-02-12 11:02:06 +01:00
Thomas Schoebel-Theuer
e7fa3fa130 infra: make brick_wait upstream independent 2019-02-12 11:02:05 +01:00
Thomas Schoebel-Theuer
ac0677fcb7 Merge branch 'mars0.1.y' into mars0.1a.y 2019-01-16 16:57:21 +01:00
Thomas Schoebel-Theuer
52b2cf2726 if: provisionary substitute for merge_bvec()
This might potentially worsen IO performance somewhat. Please report
any _reproducible_ issues, together with a reproducer.
2019-01-16 16:49:45 +01:00
Thomas Schoebel-Theuer
0db016a317 if: use blk_queue_max_hw_sectors() 2019-01-16 12:04:31 +01:00
Thomas Schoebel-Theuer
4f008ca001 if: introduce blk_queue_split
This is an absolute MUST for newer kernels, starting with 4.3.x.
2019-01-16 12:04:31 +01:00