Commit Graph

405 Commits

Author SHA1 Message Date
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
Thomas Schoebel-Theuer
9f28a4ef5f mars_net: drastically speedup network 2013-01-20 23:24:29 +01:00
Thomas Schoebel-Theuer
5737198009 client: fix net io timeout 2013-01-20 23:24:29 +01:00
jmann
2b20ff1b67 - same fixes (history, color, ...)
- add same news (resize, limits, speed, ...)
2013-01-20 23:24:29 +01:00
jmann
2ced26ef59 update *limit names in /proc/sys/mars/* 2013-01-20 23:24:28 +01:00
Thomas Schoebel-Theuer
0a7b6df106 marsadm resize: change syncstatus only at the primary 2013-01-20 23:24:28 +01:00
Thomas Schoebel-Theuer
57ee4e306f marsadm: better verbosity at resize problem with syncstatus 2013-01-20 23:24:28 +01:00
Thomas Schoebel-Theuer
c532f909ad marsadm: check for already running sync, fix syncstatus 2013-01-20 23:24:28 +01:00
Thomas Schoebel-Theuer
325083115e mars_if: hacked propagation of resize 2013-01-20 23:24:28 +01:00
Thomas Schoebel-Theuer
e76694df49 mars_bio: fix size update in get_info() 2013-01-20 23:24:28 +01:00
Thomas Schoebel-Theuer
a9e7affde5 marsadm: fix wrong minimum computation in resize 2013-01-20 23:24:28 +01:00
jmann
380a38a903 small fixed for help and command 2013-01-20 23:24:28 +01:00
Thomas Schoebel-Theuer
0ff5504db1 marsadm: fix typo in pause_replay_local_res 2013-01-20 23:24:28 +01:00
Thomas Schoebel-Theuer
74f9a8fd85 light: make LOGDELETE_AUTO runtime configurable 2013-01-20 23:24:28 +01:00