Andrea Mazzoleni
df5b389afd
Use more proper flags for the open() for flock()
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-03-09 23:31:42 +01:00
Andrea Mazzoleni
21561e6cf9
More coverage test
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-02-28 18:13:11 +01:00
Andrea Mazzoleni
d451f911c7
Reformat the code with new uncrustify.cfg
2026-02-27 00:39:22 +01: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
d3f7bf64c1
Differentiate messages in the log files if they are caused by an hardware issue
2026-02-01 20:44:36 +01:00
Andrea Mazzoleni
b29500c25f
Update beautification with uncrustify
2026-01-22 16:13:25 +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
85ca997bf2
Fix integer overflow when computing the progress percentage
2024-01-03 20:20:39 +01:00
Andrea Gelmini
986e9b4131
Fix typos
2020-05-26 12:50:15 +02:00
Andrea Mazzoleni
b725333a49
Add MetroHash128 for speed measurement
2020-04-24 21:02:45 +02:00
Andrea Mazzoleni
ac3714aa8a
Fix some potential alignment issues
...
In ARM platforms we need data aligned for direct
access. Use special tricks to access unaligned one.
2016-11-09 19:43:52 +01:00
Andrea Mazzoleni
20cd1f86f8
Fix typos in comments
...
No functional change.
2016-05-23 22:37:18 +02:00
Andrea Mazzoleni
21241c5078
Preliminary advise support
2016-05-15 14:50:59 +02:00
Andrea Mazzoleni
36a4d24333
Source code beautification
...
Done with uncrustify.
2016-04-10 22:46:09 +02:00
Andrea Mazzoleni
b619b9bee1
Use a faster memory test
...
We have now many buffers to test, and we need a faster test.
2016-01-09 10:25:56 +01:00
Andrea Mazzoleni
61402049bc
Fix the counting of different bits, as it was always return 0
2015-12-13 18:42:36 +01: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
a7c4f082b3
Use size_t where appropriate
2015-09-13 15:36:36 +02:00
Andrea Mazzoleni
8bc16009bd
Fix build issue due wrong declaration
2015-09-13 11:41:49 +02:00
Andrea Mazzoleni
3bf691ff7d
On data error, prints the number of different bits
2015-09-12 15:19:52 +02:00
Andrea Mazzoleni
de0c437bd2
Put a clear separation between log and msg functions
2015-04-20 22:07:42 +02:00
Andrea Mazzoleni
1c3000ae04
Use a better cpu detection
...
We now follow precisely the Intel documentation.
2015-03-09 22:28:51 +01:00
Andrea Mazzoleni
e56de653da
Introduce a new messaging system
2015-02-22 14:31:03 +01: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
b5ce575981
Change the log and output handling
...
Now the log file contains all the errors messages,
and all the tag lines.
2015-02-02 23:39:46 +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
de4e5eef43
Uses a better message for the Low Memory condition.
2014-12-31 09:09:20 +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
7d6c30333f
Uses a more precise intructions set detection.
...
This allows to build with old assembler programs.
2014-11-12 19:52:35 +01:00
Andrea Mazzoleni
b91ae16e3e
Fixes invalid write in case of memory exaustion.
2014-11-01 17:52:04 +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
43d81d52a9
Prints more info in low memory error.
2014-08-02 10:30:51 +02:00
Andrea Mazzoleni
adc4f196fa
Adds the implementation of the new test-nano command.
2014-05-18 15:11:18 +02:00
Andrea Mazzoleni
de86307a27
Uses a smarter copy detection to avoid false positive.
...
Now a if the file has a zero nanosecond timestamp, it must
match the full pathname.
Also add the new -N option and an new undocumented test-nano
command to set randomly the nanosecond timestamp of files
that have it at zero.
2014-05-15 23:45:51 +02:00
Andrea Mazzoleni
23060095c9
Fixes some minor code issues found with coverity scan.
2014-05-09 22:07:07 +02:00
Andrea Mazzoleni
44ef039a13
Different source organization.
2014-03-23 17:50:27 +01:00