Commit graph

1781 commits

Author SHA1 Message Date
Andrea Mazzoleni
836fd6b1e0 Add a new undocumented --filter-block-error option 2021-07-08 08:07:03 +02:00
Andrea Mazzoleni
6e717a8239 Updated HISTORY 2021-06-24 07:40:34 +02:00
Andrea Mazzoleni
e1d24b2f86 Create codeql-analysis.yml 2021-05-30 15:56:07 +02:00
Andrea Mazzoleni
24f746bf82 Use localtime_r() when available
No effect on the monothread context, but avoid warnings from static analysis.
2021-05-30 15:52:55 +02:00
Andrea Mazzoleni
4653dde7c5 Fixed false positive warnings from static analysis
The number of buffer and the hash size are always a small number. It never reash the 4 GB limit.
2021-05-30 15:50:13 +02:00
Andrea Mazzoleni
bbfb3415dc Enable check on github actions 2021-05-28 07:24:39 +02:00
Andrea Mazzoleni
65d404fd5f Preliminary github actions support 2021-05-28 07:10:43 +02:00
Andrea Mazzoleni
d65acee664 Preliminary circleci support 2021-05-27 21:29:43 +02:00
Andrea Mazzoleni
53801b407a Remove the need of the MingW pthread layer on the Windows port
Now everything is implemented usign Windows native calls.
2021-05-26 00:21:52 +02:00
Andrea Mazzoleni
7ce88e5f18 Remove unncessary assignment 2021-05-25 13:32:26 +02:00
Andrea Mazzoleni
ec7c4de3c9 Fix check for division by 0 2021-05-24 19:47:05 +02:00
Andrea Mazzoleni
b609df78b5 Add overflow checking on the interger parsing 2021-05-24 19:43:53 +02:00
Andrea Mazzoleni
77005ff2db Update coverity 2021-05-24 19:43:27 +02:00
Andrea Mazzoleni
7654ed45f1 In fix/check with the -e option process the whole files with bad blocks 2021-05-22 22:28:19 +02:00
Andrea Mazzoleni
d5d10abcda Do not postprocess files in excluded blocks
The filtering is by files, so the last block is included.
The only exception is with an explicit end block, but in such case,
like when fixing bad blocks the post processing is not expected.
2021-05-22 22:00:07 +02:00
Andrea Mazzoleni
2a5b5499c4 Avoid to recompute the block status multiple times
Store it in a bit vector and reuse the result.
2021-05-22 11:37:36 +02:00
Andrea Mazzoleni
f0a5268d32 Avoid to use the filesystem mutex when it's not necessary
This speed-up a bit the check and fix that are monothreads
2021-05-22 10:14:56 +02:00
Andrea Mazzoleni
ff3fc0a194 Avoid to get the info block if not necessary 2021-05-22 10:14:56 +02:00
Andrea Mazzoleni
dd29375af1 Avoid to compose the file path if not necessary 2021-05-22 10:14:56 +02:00
Andrea Mazzoleni
cb8b3dc804 Print a new Selecting... stage to get an idea of the time spent on it 2021-05-22 10:14:53 +02:00
Andrea Mazzoleni
4340d436a9 Add a warning for the -R option 2021-05-22 08:50:34 +02:00
Andrea Mazzoleni
b74731d853 Use stripe as more correct definition 2021-05-22 08:50:30 +02:00
Andrea Mazzoleni
ac3240d2d6 Add checksums for v11.5 2020-05-26 20:30:58 +02:00
Andrea Mazzoleni
922719c1d7 Update HISTORY 2020-05-26 12:54:17 +02:00
Andrea Gelmini
986e9b4131 Fix typos 2020-05-26 12:50:15 +02:00
Andrea Gelmini
f3b3182885 Fix variable name 2020-05-26 12:50:15 +02:00
Andrea Mazzoleni
666937f0b4 Remove the default -march=native 2020-05-26 12:48:56 +02:00
Andrea Mazzoleni
d6ef86ce65 Regenerated the package fo v11.4 to fix the version string 2020-05-19 06:45:14 +02:00
Andrea Mazzoleni
34d1e436d6 Add checksums for v11.4 2020-05-18 15:44:00 +02:00
Andrea Mazzoleni
5bac3d64a6 Fix build errors due new gcc 10 default for -fno-common 2020-05-18 15:28:55 +02:00
Andrea Mazzoleni
2f9e0e6fdd Update HISTORY 2020-04-24 21:02:47 +02:00
Andrea Mazzoleni
a8242e4cd8 Print block stats 2020-04-24 21:02:47 +02:00
Andrea Mazzoleni
290801fd2f More explicative on bad blocks 2020-04-24 21:02:47 +02:00
Andrea Mazzoleni
8e3a8ca710 Add -march=native in the default build
This should improve performance.
2020-04-24 21:02:47 +02:00
Andrea Mazzoleni
b725333a49 Add MetroHash128 for speed measurement 2020-04-24 21:02:45 +02:00
Andrea Mazzoleni
d294c11b43 Update HISTORY 2019-11-16 08:42:46 +01:00
Andrea Mazzoleni
f0e7170009 Print the time needed for state verification 2019-11-16 08:41:43 +01:00
Andrea Mazzoleni
28f66faa1f Update HISTORY 2019-06-04 19:28:46 +02:00
Andrea Mazzoleni
9a21995a61 Split the parity close and truncate operations
To avoid any possible conflicts.
2019-06-04 19:28:43 +02:00
Andrea Mazzoleni
78681715c6 Minor changes at the README 2019-05-19 20:03:33 +02:00
Andrea Mazzoleni
91671274bc Don't fix the size of filtered out parities 2019-05-19 16:46:03 +02:00
Andrea Mazzoleni
a873eee208 Improve parity fixing speed 2019-05-19 10:04:53 +02:00
Andrea Mazzoleni
19c75877f1 Allow the --force-device option to work with smart/up/down/devices 2019-05-05 09:17:05 +02:00
Andrea Mazzoleni
37b0064d60 Remove a build warning about major/minor defined in sysmacros.h
The new glibc 2.26 shows a warning if the code uses major/minor
from sys/types.h. Unfortunalte the autoconf macro used do not trigger
sysmacros.h inclusion because major/minor are already defined in sys/types.h.
2018-11-12 21:27:34 +01:00
Andrea Mazzoleni
825493b56d Add checksums for v11.3 2018-11-03 09:50:25 +01:00
Andrea Mazzoleni
17f44f519e Update HISTORY 2018-11-03 09:41:12 +01:00
Andrea Mazzoleni
70f2460130 Fix some warnings with latest gcc 8.2.0 2018-09-26 06:50:43 +02:00
BlueBlock
72924c6d34 Fix a typo in a message 2018-09-25 22:27:20 +02:00
Andrea Mazzoleni
f8d86abf4f Automatically fix any scrub date that is in the future 2018-09-25 22:19:39 +02:00
Andrea Mazzoleni
294a0ae90d Fix future scrub times 2018-09-25 22:02:14 +02:00