Commit Graph

488 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer
39829fa00b infra: fix potential signedness problem with limiter 2013-01-23 20:06:52 +01:00
Thomas Schoebel-Theuer
2f74813ce6 light: fix opportunity for bad end_pos computation 2013-01-23 20:06:52 +01:00
Thomas Schoebel-Theuer
1a25b0c57a light: fix hangs caused by bad replay links 2013-01-23 20:06:52 +01:00
Thomas Schoebel-Theuer
3aebe8de7f mars_proc: improve naming conventions and access flags 2013-01-23 20:06:52 +01:00
Thomas Schoebel-Theuer
58a0db4280 light: improve debugging of replaylink 2013-01-23 20:06:52 +01:00
Thomas Schoebel-Theuer
3aa9ed6926 logger: delay callers much earlier on memory shortage 2013-01-23 20:06:51 +01:00
Thomas Schoebel-Theuer
ee15a118e0 brick_say: ensure that OOM cannot disturb 2013-01-23 20:06:51 +01:00
Thomas Schoebel-Theuer
79b76d41c7 lib_timing: fix signedness comparison problem 2013-01-23 20:06:51 +01:00
Thomas Schoebel-Theuer
8ef65996cf lib_rank: fix potential integer overflow 2013-01-23 20:06:51 +01:00
Thomas Schoebel-Theuer
9126a3819e trans_logger: better debugging 2013-01-23 20:06:51 +01:00
Thomas Schoebel-Theuer
db19f86347 if: allow open() only when switched on 2013-01-23 20:06:51 +01:00
Thomas Schoebel-Theuer
1e369b366c logger: fix opportunity for too-early input destruction 2013-01-23 20:06:51 +01:00
Thomas Schoebel-Theuer
d1469b5b83 infra: better statistics on object/aspect allocations 2013-01-23 20:06:51 +01:00
Thomas Schoebel-Theuer
23c4a1cc57 proc: show lamport clock in /proc/sys/mars/ 2013-01-23 20:06:51 +01:00
Thomas Schoebel-Theuer
af5c95317c light: fix potential NULL ptr deref 2013-01-23 20:06:51 +01:00
Thomas Schoebel-Theuer
3f4e86427d infra: remove timeout on brick deletion
in any case, infinite waiting is better than bombing
due to deallocated memory where threads try to continually
work on.
2013-01-23 20:06:51 +01:00
Thomas Schoebel-Theuer
43a6c2239c net: fix release and re-open of sockets 2013-01-23 20:06:51 +01:00
Thomas Schoebel-Theuer
dd99340827 net: fix race on mars_shutdown_socket() 2013-01-23 20:06:51 +01:00
Thomas Schoebel-Theuer
d07aaa75c3 net: speedup struct communication 2013-01-23 20:06:51 +01:00
Thomas Schoebel-Theuer
bcea0eac40 infra: fix memleak on remote dent lists 2013-01-23 20:06:51 +01:00
Thomas Schoebel-Theuer
d930823b17 all: fix warning on __exit annotations 2013-01-23 20:06:51 +01:00
Thomas Schoebel-Theuer
4101aa69de if: make it compile under openvz kernels 2013-01-23 20:06:50 +01:00
Thomas Schoebel-Theuer
d0b5b7ce48 brick_say: allow delaying callers upon overflow 2013-01-23 20:06:50 +01:00
Thomas Schoebel-Theuer
eedbd47d4b infra: more verbose messages on corrupted log data 2013-01-23 20:06:50 +01:00
Thomas Schoebel-Theuer
a1ec9ec5db light: fix memory leak in rot destruction 2013-01-23 20:06:50 +01:00
Thomas Schoebel-Theuer
932a4c56ef debugging: show caller line at *path_make() and friends 2013-01-23 20:06:50 +01:00
Thomas Schoebel-Theuer
af5b3100fb server: quiet unnecessary warning 2013-01-23 20:06:50 +01:00
Thomas Schoebel-Theuer
8490dcc7bc light: add statusfile_rollover 2013-01-23 20:06:50 +01:00
Thomas Schoebel-Theuer
87631d14fc all: make rmmod more robust when requests are flying 2013-01-23 20:06:50 +01:00
Thomas Schoebel-Theuer
5041dd1cf4 mem: show raw statistics in /proc 2013-01-23 20:06:50 +01:00
Thomas Schoebel-Theuer
ea9068e992 if: redirect messages of external threads to resource channels 2013-01-23 20:06:50 +01:00
Thomas Schoebel-Theuer
f88c3c12ad brick_say: separate logfiles for each resource 2013-01-23 20:06:50 +01:00
Thomas Schoebel-Theuer
fdd3b251c0 all: replace kthread by brick_thread wrapper 2013-01-23 20:06:50 +01:00
Thomas Schoebel-Theuer
47040b5798 brick_say: implement status files via intermediate .tmp files 2013-01-23 20:06:49 +01:00
Thomas Schoebel-Theuer
569e70eb90 light: delay shutdown if buffer memory is in use 2013-01-23 20:06:49 +01:00
Thomas Schoebel-Theuer
f1d9b0366d brick_mem: improve memory alignment and checking 2013-01-23 20:06:49 +01:00
Thomas Schoebel-Theuer
0dfd2deda7 infra: reduce memory fragmentation on aspect allocation 2013-01-23 20:06:49 +01:00
Thomas Schoebel-Theuer
4b94866c80 light: parameterize aio instances correctly 2013-01-23 20:06:49 +01:00
Ulrich Goettlich
06fd65e852 prepatch for openvzs rhel6 based sources 2013-01-23 20:06:49 +01:00
Thomas Schoebel-Theuer
e7f88c84d6 infra: rewrite brick_say to work with threads
It was cumbersome to write to files in / after in_interrupt() & co.
A master write thread will also reduce the peak IO parallelism
on log data in /mars .

Further work has to be done to utilize non-default write channels.
2013-01-23 20:06:49 +01:00
Thomas Schoebel-Theuer
c319230fa1 all: IO scheduling improvements, tuning
Dastically boost random write performance on RAID controllers with BBUs.
Writeback is only performed when there is no IO contention / starvation.
The old IO contention controller was suited to workstations.
Now server loads are well-controlled even when BBUs are present.
2013-01-23 20:06:49 +01:00
Thomas Schoebel-Theuer
d510dd1a3b infra: add lib_timing 2013-01-23 20:06:49 +01:00
Thomas Schoebel-Theuer
9b4ed5e0b5 mars_bio: queue PRIO_NORMAL writes for less contention 2013-01-23 20:06:49 +01:00
Thomas Schoebel-Theuer
1b016c796a brick.h: start abstracting kthread away
not yet complete - more TODOs
2013-01-23 20:06:49 +01:00
jmann
974bed2b7a - some fixes on mars-status
- add test
2013-01-23 20:06:21 +01:00
jmann
2dfd37d708 add some small testscripts 2013-01-23 20:05:37 +01:00
Thomas Schoebel-Theuer
9016c81057 light: report timestamp of replay in actual-* 2013-01-20 23:24:30 +01:00
Thomas Schoebel-Theuer
fadaacef15 marsadm: treat log-delete-all equally to log-delete
Hopefully this does not break anything.
2013-01-20 23:24:30 +01:00
Thomas Schoebel-Theuer
06e6ff0973 proc: show actual traffic rates 2013-01-20 23:24:30 +01:00
Thomas Schoebel-Theuer
23c8af994c proc: show actual mem usage in /proc/sys/mars/ 2013-01-20 23:24:30 +01:00