Commit Graph

723 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer
31374c81ab lib_log: safeguard seq_nr 2013-01-23 20:06:59 +01:00
Thomas Schoebel-Theuer
2a809fddfd trans_logger: fix start_pos on log replay 2013-01-23 20:06:59 +01:00
Thomas Schoebel-Theuer
146101d034 lib_log: use standard chunk_size in log_read() 2013-01-23 20:06:59 +01:00
Thomas Schoebel-Theuer
44f45025f8 lib_log: better data safety, rework error handling 2013-01-23 20:06:59 +01:00
Thomas Schoebel-Theuer
bcf323c254 lib_log: add log sequence number checks 2013-01-23 20:06:58 +01:00
Thomas Schoebel-Theuer
4677514aab light: immediately stop log replay upon rmmod 2013-01-23 20:06:58 +01:00
Thomas Schoebel-Theuer
0f9f2b404d light: protect copy against concurrent logfile updates 2013-01-23 20:06:58 +01:00
Thomas Schoebel-Theuer
c92ebb653e trans_logger: additional log_flush() on logrotate 2013-01-23 20:06:58 +01:00
Thomas Schoebel-Theuer
5d3104ec23 trans_logger: call log_flush() exactly when necessary 2013-01-23 20:06:58 +01:00
Thomas Schoebel-Theuer
47c8f6ae57 trans_logger: do preio() much earlier 2013-01-23 20:06:58 +01:00
Thomas Schoebel-Theuer
106579ac32 if: add statistics on skip_sync 2013-01-23 20:06:58 +01:00
Thomas Schoebel-Theuer
462dc0c12a trans_logger: update inf_min_pos for ALL original requests
even for hidden ones which have been completely shadowed by
later requests.
2013-01-23 20:06:58 +01:00
Thomas Schoebel-Theuer
4ab32dd2a2 trans_logger: fix potentially incorrect log_pos computation 2013-01-23 20:06:58 +01:00
Thomas Schoebel-Theuer
f8496d2392 trans_logger: report pos_count specificly for input 2013-01-23 20:06:58 +01:00
Thomas Schoebel-Theuer
b5488cbea4 trans_logger: count flying logger requests separately 2013-01-23 20:06:58 +01:00
Thomas Schoebel-Theuer
71429b5bee trans_logger: never collect non-persistent data for writeback 2013-01-23 20:06:58 +01:00
Thomas Schoebel-Theuer
f569a3f604 trans_logger: remove obsolete timestamp-basing of writeback
Only costs performance.
The effect should now be achieved by detection of writeback collisions.
2013-01-23 20:06:57 +01:00
Thomas Schoebel-Theuer
5fe6ff76df trans_logger: cease queue banning upon real progress 2013-01-23 20:06:57 +01:00
Thomas Schoebel-Theuer
e4ace4a8d5 trans_logger: disallow writeback collisions with itself 2013-01-23 20:06:57 +01:00
Thomas Schoebel-Theuer
df950fe505 trans_logger: disallow KEEP_UNIQUE data buffer modification after IO has started 2013-01-23 20:06:57 +01:00
Thomas Schoebel-Theuer
8601114229 brick_mem: show BRICK_DEBUG_MEM to other modules 2013-01-23 20:06:57 +01:00
Thomas Schoebel-Theuer
6579498a4b lib_log: use uniform allocation size 2013-01-23 20:06:57 +01:00
Thomas Schoebel-Theuer
28d433cc81 trans_logger: fix potential race on log_input
During logrotate, there may exist writeback clusters
with mixed log_inputs. Each sub_mref now gets its individual
log_input inherited from the orig_mref. Add ref counting
to ensure that cleanup can never occur on an active log_input.
2013-01-23 20:06:57 +01:00
Thomas Schoebel-Theuer
51fe58aeac trans_logger: fix races on _inf_callback() 2013-01-23 20:06:57 +01:00
Thomas Schoebel-Theuer
ec69356a14 trans_logger: make completion_semantics configurable 2013-01-23 20:06:57 +01:00
Thomas Schoebel-Theuer
5af5fbf6b2 trans_logger: remove deprecated variants 2013-01-23 20:06:57 +01:00
Thomas Schoebel-Theuer
542e3a9ae6 trans_logger: fix race in _complete() 2013-01-23 20:06:57 +01:00
Thomas Schoebel-Theuer
7b905f93ad trans_logger: limit q0 length 2013-01-23 20:06:57 +01:00
Thomas Schoebel-Theuer
8a7d86e73b trans_logger: avoid CPU consumption upon untreatable queues 2013-01-23 20:06:56 +01:00
Thomas Schoebel-Theuer
37fdd05899 trans_logger: report #pushbacks and no_progress 2013-01-23 20:06:56 +01:00
Thomas Schoebel-Theuer
31ffd7d11e if: fix mars_congested() to report writes 2013-01-23 20:06:56 +01:00
Thomas Schoebel-Theuer
e937cd56eb trans_logger: additional global mref_flying limit 2013-01-23 20:06:56 +01:00
Thomas Schoebel-Theuer
fa12becf00 trans_logger: add CRC checksumming of data
Off by default, since it may hurt performance.
2013-01-23 20:06:56 +01:00
Thomas Schoebel-Theuer
d9cbea66c2 aio: do mapfree_pages() via background thread
This is crucial for performance, since invalidate_mapping_pages()
may take a long time and consume a lot of CPU.
Decouple it from time-critical worker threads.
2013-01-23 20:06:56 +01:00
Thomas Schoebel-Theuer
c6d22e7553 marsadm: log all messages to syslog 2013-01-23 20:06:56 +01:00
jmann
70d409b200 mars-status: release 0.070
--------------------------
- same small fixes
- upgrade history-replay
- logfile-delay
- displaying debug
- upgrade replay*/version* links
- upgrade system links
2013-01-23 20:06:56 +01:00
jmann
f46fb7b61e release 0.071
- same small fixes
- upgrade history-replay
- logfile-delay
- displaying debug
- upgrade replay*/version* links
- upgrade system links
2013-01-23 20:06:56 +01:00
jmann
26dba100c0 update manpages 2013-01-23 20:06:56 +01:00
jmann
60942678ab actualy versions mars-status, include same fixes 2013-01-23 20:06:56 +01:00
jmann
b25edf055b cleanup branch 2013-01-23 20:06:56 +01:00
jmann
0ac88f3378 20121201 - redesign debug-files and -messages
20120204 - add display todo counter
20120205 - add/update system entrys
and same small bugs ...

Conflicts:

	userspace/mars-status
2013-01-23 20:06:56 +01:00
jmann
4bc3076f7f same small fixes. 2013-01-23 20:06:55 +01:00
jmann
f1122eccf7 20121201 - redesign debug-files and -messages
20120204 - add display todo counter
20120205 - add/update system entrys
and same small bugs ...
2013-01-23 20:06:55 +01:00
Thomas Schoebel-Theuer
845e990333 client: fix termination upon receiver error 2013-01-23 20:06:55 +01:00
Thomas Schoebel-Theuer
a9d0339771 copy: fix potential mref trashing 2013-01-23 20:06:55 +01:00
Thomas Schoebel-Theuer
e6c401d01a infra: simplify brick_yield() 2013-01-23 20:06:55 +01:00
Thomas Schoebel-Theuer
8bb352d35d copy: remove useless wakeup 2013-01-23 20:06:55 +01:00
Thomas Schoebel-Theuer
9bb6ef8a78 infra: fix potential infinite brick_wait (robustness) 2013-01-23 20:06:55 +01:00
Thomas Schoebel-Theuer
4154a8669c aio: report total_again_count 2013-01-23 20:06:55 +01:00
Thomas Schoebel-Theuer
3f0b1aa918 aio: report total_submit_count 2013-01-23 20:06:55 +01:00