Andrea Mazzoleni
cea9015933
Add experimental XXH3 hash implementation with SIMD acceleration
...
Memory write speed using the C memset() function:
memset 57952
Hash used to check the data blocks integrity:
best murmur3 spooky2 museair xxh3 xsse2 xavx2
hash spooky2 6172 17914 32048 14627 23613 44034
2026-09-30 20:06:19 +02:00
Andrea Mazzoleni
33340f1ede
Replace mem_is_zero() with membcmp() and update call sites
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-arm32 (push) Waiting to run
Build / build-win (push) Waiting to run
Build / build-freebsd (push) Waiting to run
Build / build-musl (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-09-11 09:27:42 +02:00
Andrea Mazzoleni
2f47d407ba
Strengthen stream and vector memory tests
2026-09-11 09:27:42 +02:00
Andrea Mazzoleni
15048ff14f
Optimize hardware CRC32C using multiple lanes
2026-09-11 09:27:42 +02:00
Andrea Mazzoleni
c09b850047
Keep generation ambiguous for legacy hashes in check repair to prevent false CURRENT certification on size changes
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-arm32 (push) Waiting to run
Build / build-win (push) Waiting to run
Build / build-freebsd (push) Waiting to run
Build / build-musl (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-09-07 12:02:24 +02:00
Andrea Mazzoleni
0b64fb2eae
Eliminate obsolete raid_zero API and dedicated zero buffers
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-arm32 (push) Waiting to run
Build / build-win (push) Waiting to run
Build / build-freebsd (push) Waiting to run
Build / build-musl (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-09-02 20:49:06 +02:00
Andrea Mazzoleni
472c85a4fb
Centralize canonical SnapRAID block hashing semantics
2026-08-31 20:45:38 +02:00
Andrea Mazzoleni
c7b8068e36
Fix 32-bit integer truncation in block metadata allocations and file_block
2026-08-26 21:11:46 +02:00
Andrea Mazzoleni
9c6e3952c5
Remove unused MetroHash implementation and references
2026-08-18 23:33:58 +02:00
Andrea Mazzoleni
d7c6a27c6d
Refactor portable support
2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
2db72e0e7e
Add CRC support for macOS
2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
f40b2decdb
Further conversions from 32 to 64 bits
2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
76998613da
Remove the unused number of data disks from the vector allocation
...
The same addressing rules are applied to the parity disks because
they are used as data disks during recovery operations.
2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
108915254e
Assume the assembler supports all x86 SSE/AVX instructions
2026-08-18 23:33:53 +02:00
Andrea Mazzoleni
0d0431a907
Simpler Copyright string
2026-04-09 17:56:49 +02:00
Christoph Hellwig
60269a1236
Use SPDX ( https://spdx.dev/ ) tags to identify the license used for each
...
file, and a COPYING file explaining the licensing scheme, with the actual
licenses listed in the LICENSES/ directory.
2026-04-02 16:01:37 +02:00
Andrea Mazzoleni
d5b5a9bcbf
More efficient info bucket management
...
Logged at every state_read() and state_write()
2026-02-09 14:39:19 +01:00
Andrea Mazzoleni
025816d151
Speed up the status command
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-win (push) Has been cancelled
CodeQL Advanced / Analyze (c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
2026-02-02 18:00:14 +01:00
Andrea Mazzoleni
f6cf240b97
New experimental MuseAir hash
2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
cc2bdad335
Some hash support improvments
2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
21acc31bf1
Beautify code with uncrustify
2025-10-26 18:11:45 +01:00
Andrea Mazzoleni
85ca997bf2
Fix integer overflow when computing the progress percentage
2024-01-03 20:20:39 +01: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
5bac3d64a6
Fix build errors due new gcc 10 default for -fno-common
2020-05-18 15:28:55 +02:00
Andrea Mazzoleni
b725333a49
Add MetroHash128 for speed measurement
2020-04-24 21:02:45 +02:00
Andrea Mazzoleni
713a8138c0
Minor formatting changes
2017-11-03 23:46:45 +01:00
Andrea Mazzoleni
21241c5078
Preliminary advise support
2016-05-15 14:50:59 +02:00
Andrea Mazzoleni
5b06549ee3
Make the hash size configurable
...
Only at source code level.
2016-04-07 21:39:02 +02:00
Andrea Mazzoleni
0ba7e649d1
Better optimized CRC call when writing the content file
...
This saves about 15% of CPU time in writing.
2015-10-08 22:09:12 +02:00
Andrea Mazzoleni
452a595067
Adjust verbs in comments
2015-10-07 22:07:20 +02:00
Andrea Mazzoleni
a7c4f082b3
Use size_t where appropriate
2015-09-13 15:36:36 +02:00
Andrea Mazzoleni
3bf691ff7d
On data error, prints the number of different bits
2015-09-12 15:19:52 +02:00
Andrea Mazzoleni
fa5f31ddf9
Move stream implementation to a specific source file
2015-02-21 09:00:34 +01:00
Andrea Mazzoleni
d4a92f4918
Add additional regression test for streams
2015-02-20 19:07:19 +01:00
Andrea Mazzoleni
84949d96da
Add an extra CRC check on the data written to the streams
...
This is intented to detect memory errors during the processing.
2015-02-18 19:27:59 +01:00
Andrea Mazzoleni
87aa5d5e7b
Add a memory test at the stream buffer
2015-02-18 19:17:48 +01:00
Andrea Mazzoleni
ffe7f6fa57
Adds new files support.c/h for low level support functions.
2015-01-02 18:52:04 +01:00
Andrea Mazzoleni
b24807704e
Adds preliminary support for spinning up and down commands.
2015-01-02 15:53:15 +01:00
Andrea Mazzoleni
8c98864395
Uses the OS random support instead of rand().
2014-12-27 11:56:55 +01:00
Andrea Mazzoleni
95e4ed03bf
Removes rand() use from the raid module.
2014-12-27 11:45:59 +01:00
Andrea Mazzoleni
876bddcf4c
Beautifies the code.
2014-09-27 00:32:39 +02:00
Andrea Mazzoleni
d84babb6bd
Updates with latest tommyds library.
2014-09-26 23:50:01 +02:00
Andrea Mazzoleni
0c65dbbb48
Adds cmalloc() wrapper.
2014-08-31 17:50:39 +02:00
Andrea Mazzoleni
adc4f196fa
Adds the implementation of the new test-nano command.
2014-05-18 15:11:18 +02:00
Andrea Mazzoleni
44ef039a13
Different source organization.
2014-03-23 17:50:27 +01:00