Commit Graph

560 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer 79f0f28ef7 mem: add debugging of order0 operations 2013-01-23 20:07:02 +01:00
Thomas Schoebel-Theuer 229092c28c mem: improve debugging 2013-01-23 20:07:02 +01:00
Thomas Schoebel-Theuer d02814e9c5 infra: make mem debugging independently configurable 2013-01-23 20:07:02 +01:00
Thomas Schoebel-Theuer 2271f55e8c brick_say: make debug messages runtime-selectable 2013-01-23 20:07:02 +01:00
Thomas Schoebel-Theuer a7e309cf4b light: change versionlink delimiter to ':' 2013-01-23 20:07:01 +01:00
Thomas Schoebel-Theuer cba5c8feee server: fix list consistency 2013-01-23 20:07:01 +01:00
Thomas Schoebel-Theuer c7f8d856ee bio: fix wrong detection of error 2013-01-23 20:07:01 +01:00
Thomas Schoebel-Theuer 9d491ae27c all: use mapping_set_gfp_mask() everywhere 2013-01-23 20:07:01 +01:00
Thomas Schoebel-Theuer f5ad5c4698 infra: fix mm faking 2013-01-23 20:07:01 +01:00
Thomas Schoebel-Theuer a1935bb290 aio: deadlock prevention: move fs operations to brick_switch() path 2013-01-23 20:07:01 +01:00
Thomas Schoebel-Theuer 769d606db6 light: speedup recognition of finished logfiles 2013-01-23 20:07:01 +01:00
Thomas Schoebel-Theuer 5cfd36618a infra: fix lamport clock on stat() 2013-01-23 20:07:01 +01:00
Thomas Schoebel-Theuer 9c9a8d22d7 server: fix incorrect locking 2013-01-23 20:07:01 +01:00
Thomas Schoebel-Theuer 669a2d6f07 light: fix logrotate for primary 2013-01-23 20:07:01 +01:00
Thomas Schoebel-Theuer 93e7ffdf49 aio: better error reporting 2013-01-23 20:07:01 +01:00
Thomas Schoebel-Theuer e88e857ee9 light: show logfile name in versionlink 2013-01-23 20:07:01 +01:00
Thomas Schoebel-Theuer 4dbedabd78 marsadm: fix typo leading to wrong deletes of versionlinks 2013-01-23 20:07:01 +01:00
Thomas Schoebel-Theuer 7dcfe9aaf3 light: make mutual exclusion betwenn sync and logging more robust 2013-01-23 20:07:00 +01:00
Thomas Schoebel-Theuer d233862916 light: disallow syncing old data over new one 2013-01-23 20:07:00 +01:00
Thomas Schoebel-Theuer c63c6b6b81 bio: exclusive lock device 2013-01-23 20:07:00 +01:00
Thomas Schoebel-Theuer bf1a993896 net: fix sock_release() leak 2013-01-23 20:07:00 +01:00
Thomas Schoebel-Theuer 8277655e20 if: fix kunmap() 2013-01-23 20:07:00 +01:00
Thomas Schoebel-Theuer a103643d23 server: fix race on shutdown 2013-01-23 20:07:00 +01:00
Thomas Schoebel-Theuer 4fcff97e68 brick_say: report any memleaks 2013-01-23 20:07:00 +01:00
Thomas Schoebel-Theuer 41d8af3f6d light: trigger after remote copy has finished 2013-01-23 20:07:00 +01:00
Thomas Schoebel-Theuer 1160328832 light: call remote_trigger() only when necessary 2013-01-23 20:07:00 +01:00
Thomas Schoebel-Theuer 6b31a0265c copy: disallow write overlapping by default 2013-01-23 20:07:00 +01:00
Thomas Schoebel-Theuer f447ebea58 light: bump min_free_kbytes 2013-01-23 20:07:00 +01:00
Thomas Schoebel-Theuer fb964fcc75 mem: pre-allocate only the necessary 2013-01-23 20:07:00 +01:00
Thomas Schoebel-Theuer 93b05fc6db mem: more verbose reporting 2013-01-23 20:06:59 +01:00
Thomas Schoebel-Theuer 854e90b384 infra: qiet harmless race 2013-01-23 20:06:59 +01:00
Thomas Schoebel-Theuer 7cc5c12436 light: offload trans_logger from symlink update (deadlock prevention) 2013-01-23 20:06:59 +01:00
Thomas Schoebel-Theuer a036a01188 light: fix logfile rotation
The old code had races, migitated by long timeouts.
The new code has strictly no dependencies from realtime.
2013-01-23 20:06:59 +01:00
Thomas Schoebel-Theuer 899b0a5743 trans_logger: fix potential race on old versionlink computation 2013-01-23 20:06:59 +01:00
Thomas Schoebel-Theuer 9692a33f33 aio: remove obsolete wait_during_fdsync 2013-01-23 20:06:59 +01:00
Thomas Schoebel-Theuer db06f20a05 light: workaround race between remote deletion and local use 2013-01-23 20:06:59 +01:00
Thomas Schoebel-Theuer 531e4def99 infra: fix memleak when brick is not killable 2013-01-23 20:06:59 +01:00
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