Commit Graph

418 Commits

Author SHA1 Message Date
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
Thomas Schoebel-Theuer 08a19dae8f net: make port number configurable 2013-01-20 23:24:30 +01:00
Thomas Schoebel-Theuer 261fc98d4a light: use limiter for display of rates 2013-01-20 23:24:30 +01:00
Thomas Schoebel-Theuer 09e7732342 limiter: introduce hierarchy, always show current rate 2013-01-20 23:24:30 +01:00
Thomas Schoebel-Theuer 84ca56f6b1 limiter: un-inline code 2013-01-20 23:24:30 +01:00
Thomas Schoebel-Theuer 37c4e34f76 all: port to kernel 3.2 2013-01-20 23:24:30 +01:00
Thomas Schoebel-Theuer 11c7900acb all: replace msleep() by brick_msleep() 2013-01-20 23:24:30 +01:00
Thomas Schoebel-Theuer a24d18d620 brick_say: fix detection of in_atomic() 2013-01-20 23:24:30 +01:00
Thomas Schoebel-Theuer 19f1b85616 Kconfig: make righres timer mandatory 2013-01-20 23:24:30 +01:00
Thomas Schoebel-Theuer 6f77dcc562 marsadm: tolerate missing version symlinks upon fake 2013-01-20 23:24:29 +01:00
Thomas Schoebel-Theuer c124e9d290 generic: fix race on md5 digest computation 2013-01-20 23:24:29 +01:00
Thomas Schoebel-Theuer c1ba96f0a0 all: fix race on close of transaction log 2013-01-20 23:24:29 +01:00
Thomas Schoebel-Theuer 5365063c58 light: fix invalid version links based on outdated prev version 2013-01-20 23:24:29 +01:00
Thomas Schoebel-Theuer 64d6397711 light: fix invalid version links at logrotate (ITOPWPT-225) 2013-01-20 23:24:29 +01:00
Thomas Schoebel-Theuer e7563497bc all: new pre-patch for kernel 3.2 2013-01-20 23:24:29 +01:00
Thomas Schoebel-Theuer c7c3ef135f marsadm: reset replaylink at invalidate (ITOPWPT-230) 2013-01-20 23:24:29 +01:00
Thomas Schoebel-Theuer 51307fe7a6 marsadm: log-delete-all left-over version symlinks (ITOPWPT-241) 2013-01-20 23:24:29 +01:00
Thomas Schoebel-Theuer a78094c799 marsadm: fix deletion of empty logfiles (ITOPWPT-237) 2013-01-20 23:24:29 +01:00
Thomas Schoebel-Theuer 64849f9949 light: better ERR reporting in _update_versionlink() 2013-01-20 23:24:29 +01:00
Thomas Schoebel-Theuer 439926c584 mars_copy: rework error handling 2013-01-20 23:24:29 +01:00
Thomas Schoebel-Theuer 0abed9afdc mars_copy: fix repair_mode, add recheck_mode 2013-01-20 23:24:29 +01:00