Commit Graph

35 Commits

Author SHA1 Message Date
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