Commit Graph

47 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer 0856f56918 lib_log: remove unused variable 2023-05-23 10:19:23 +02:00
Thomas Schoebel-Theuer 0b6b45bfd9 lib_log: remove less used code
Do not spend resources on sophisticated but
expensive trials.
2023-05-23 10:19:23 +02:00
Thomas Schoebel-Theuer 1e3df0f96c log: tighten start_magic 2023-05-23 10:18:25 +02:00
Thomas Schoebel-Theuer 15009b1395 infra: remove unnecessary parameter 2023-04-05 13:58:08 +02:00
Thomas Schoebel-Theuer 0cc08ff7fd flags: mask out unusable bits 2023-02-19 17:23:39 +01:00
Thomas Schoebel-Theuer 9162870298 lib_log: safeguard crc flag interpretation
Ensure that unused flag bits cannot lead to unnecessary
retries, or to badly indexed bitvector access.
2023-02-19 17:23:39 +01:00
Thomas Schoebel-Theuer 34013933f0 lib_log: safeguard suspected coherence problems 2 2022-08-24 10:22:27 +02:00
Thomas Schoebel-Theuer 5c8ed6164f lib_log: safeguard suspected coherence problems 1 2022-08-24 10:22:27 +02:00
Thomas Schoebel-Theuer 2fb55213a3 lib_log: use new smp waiting 2022-08-24 10:22:27 +02:00
Thomas Schoebel-Theuer 37078c9800 infra: add suffix _flagged to historic bick waiting 2022-08-24 10:22:26 +02:00
Thomas Schoebel-Theuer f5f758bf69 lib_log et al: report scan problems 2022-06-27 22:09:25 +02:00
Thomas Schoebel-Theuer 58d7aa98ea lib_log: report incomplete log entries via ERESTART 2022-06-27 21:17:10 +02:00
Thomas Schoebel-Theuer 36fa3858a2 lib_log: retry failed crc checks 2022-02-28 06:00:21 +01:00
Thomas Schoebel-Theuer cc1196fdfc lib_log: report invalid crc check flags 2022-02-28 06:00:21 +01:00
Thomas Schoebel-Theuer 38c77848b9 lib_log: factor out crc checks 2022-02-28 06:00:19 +01:00
Thomas Schoebel-Theuer 2feb959d71 all: remove obsolete do_crc
This MUST be always on.

Do not bother with a stone-aged testing option, which never worked.
2022-02-24 23:32:21 +01:00
Thomas Schoebel-Theuer 5f13e810b7 all: safeguard mb on indirect calls 2021-07-08 07:44:38 +02:00
Thomas Schoebel-Theuer 8050499e39 lib_log: safeguard barrier 2021-03-16 12:00:01 +01:00
Thomas Schoebel-Theuer 0e654cef63 lib_log: report decompression errors 2021-03-16 12:00:01 +01:00
Thomas Schoebel-Theuer 193c650377 lib_log: fix logfile compression corner case 2021-03-16 12:00:01 +01:00
Thomas Schoebel-Theuer 84f44fa106 lib_log: make padding verbose 2021-03-16 12:00:01 +01:00
Thomas Schoebel-Theuer ea4fbc1885 all: remove superfluous dealloc tests and clears 2020-07-08 21:00:05 +02:00
Thomas Schoebel-Theuer 3269cb8482 logger: fix scan beyond EOF after truncated logfile 2020-04-13 11:21:17 +02:00
Thomas Schoebel-Theuer 3d06881801 infra: prepare compressed logfiles 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer 2d35812d50 main: allow disabling of digests 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer 49775c05ca log: prepare folding of longer digests 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer e243706eb1 log: remove unused l_written 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer c7f5451501 infra: prepare multiple digests 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer 244b302ac0 infra: constify mars_digest_size 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer 40e72f9e7d all: deprecate mref_rw and mref_may_write 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer 00834a2370 infra: introduce temporary bounce buffers 2020-04-13 10:54:18 +02:00
Thomas Schoebel-Theuer 3029876200 infra: de-inline log_scan() 2020-04-13 10:54:18 +02:00
Thomas Schoebel-Theuer 222f048937 all: adapt to new timespec64 type 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer 5ad1645de9 Merge branch 'mars0.1.y' into mars0.1a.y 2019-02-12 11:26:58 +01:00
Thomas Schoebel-Theuer ad69d1cf79 lib_log: also convert to brick_wait 2019-02-12 11:02:06 +01:00
Thomas Schoebel-Theuer 4f071e362f infra: new interface to Lamport clock 2017-04-15 18:10:44 +02:00
Thomas Schoebel-Theuer 4d31d09534 all: remove CONFIG_MARS_BIGMODULE 2016-03-03 09:33:34 +01:00
Thomas Schoebel-Theuer e7464b3c02 all: correct error code EIO
The error code -EIO should always refer to a problem of
lower storage laysers. Thus MARS should not generate that
code itself, but other ones.
2015-01-20 15:20:10 +01:00
Thomas Schoebel-Theuer aa09d7df30 all: clarify license GPLv2+ 2014-11-25 18:09:17 +01:00
Thomas Schoebel-Theuer 21991f3cf3 logger: fix scarce race on replay EOF
This led to annoying error messages like checksumming mismatches
or record sequence number mismatches etc.
AFAIK the data integrity was not in danger (since the checks
masked out any potentially harmful actions).
2014-06-18 10:44:54 +02:00
Thomas Schoebel-Theuer 7aebfdf6bb all: remove __exit annotation 2014-04-24 18:08:31 +02:00
Thomas Schoebel-Theuer c621de770b all: improve checking of callback chain 2014-03-31 06:59:10 +02:00
Thomas Schoebel-Theuer 9a104deb19 lib_log: fix length correction in the headers, cleanup 2013-07-04 08:51:36 +02:00
Thomas Schoebel-Theuer 82e7f1b823 lib_log: move log_scan() to header file 2013-07-04 08:46:14 +02:00
Thomas Schoebel-Theuer 21a5d4160c logger: disallow skipping of bad data
Be as conservative as possible.

Any copputed logfiles must be corrected in userspace.
2013-06-20 15:08:28 +02:00
Thomas Schoebel-Theuer 1cf400bdfb lib_log: change misleading wording of error message 2013-04-16 10:04:43 +02:00
Thomas Schoebel-Theuer c58417d271 all: move kernel source into separate directory 2013-04-08 17:01:37 +02:00