Andrea Mazzoleni
5aa1563675
Further conversions from 32 to 64 bits
2026-07-13 11:03:56 +02:00
Andrea Mazzoleni
bfaa60890b
Avoid calling close(-1) on incomplete stream
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-05-24 21:32:37 +02:00
Andrea Mazzoleni
35b5c46851
Handle the case of posix_fadvise() returning ENOENT
2026-04-09 17:56:50 +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
3f9b877183
Missing of fadvise is not a fatal error
2026-03-18 11:31:44 +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
6a912b4726
Optimize the stream support for small text files
2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
b609df78b5
Add overflow checking on the interger parsing
2021-05-24 19:43:53 +02:00
Andrea Gelmini
986e9b4131
Fix typos
2020-05-26 12:50:15 +02:00
Andrea Mazzoleni
473819467f
Improve crash resilience in Linux
...
Syncing the directory is a required step to ensure resilience.
Also create the temporary file with O_EXCL to ensure to don't
use a stale copy that may link to the original copy.
2018-06-04 22:19:10 +02:00
Andrea Mazzoleni
b86e06f415
Update to latest coverity scan
2016-10-29 08:07:11 +02:00
Andrea Mazzoleni
20e9f7de41
Ignore fadvise if it return ENOSYS
...
This happens in ARM platform because fadvise is
differently implemented by the kernel and glibc
may not support it yet.
2016-10-23 22:03:02 +02:00
Andrea Mazzoleni
9ade11483e
Fix some misuses of the MiB and MB units
2016-01-16 07:29:00 +01:00
Andrea Mazzoleni
fcf7c44197
Use different thread when writing content file
...
This should reduce the possibility that the same
memory error is going to affect all the written
content files in the same way.
2015-10-29 23:37:58 +01:00
Andrea Mazzoleni
80476c480b
Delayed CRC computation of the buffer used in writing
...
This should help to detect more memory errors when writing
the content files.
2015-10-29 22:32:07 +01:00
Andrea Mazzoleni
7e1d9138b5
Add the deplete operation at the data stream
...
It's used to read the content file up to the end to verify its CRC.
2015-10-28 19:36:24 +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
cb17124cec
Remove unused text stream functions
2015-10-04 23:17:17 +02:00
Andrea Mazzoleni
fa5f31ddf9
Move stream implementation to a specific source file
2015-02-21 09:00:34 +01:00