Commit graph

2330 commits

Author SHA1 Message Date
Andrea Mazzoleni
ea6aff0e46 Avoid 100% CPU utlization in thread_yield 2026-07-30 16:26:39 +02:00
Andrea Mazzoleni
51df6c2334 Document why thread_yield is used 2026-07-30 16:26:39 +02:00
Andrea Mazzoleni
5e138b3838 Abort on privilege switch failures unless errno is EPERM 2026-07-30 16:26:39 +02:00
Andrea Mazzoleni
1fa1cd7eec Allocate minimum 1 byte in malloc_nofail when size is 0 to prevent process abort 2026-07-30 16:26:39 +02:00
Andrea Mazzoleni
527560d9a8 Use sig_atomic_t 2026-07-30 16:26:39 +02:00
Andrea Mazzoleni
7d70a2acaf Clarify comment about reading uuids 2026-07-30 16:26:39 +02:00
Andrea Mazzoleni
514c5989d2 Align data disk UUID validation and write logic with parity splits using content_uuid 2026-07-30 16:26:39 +02:00
Andrea Mazzoleni
d1ab1674cf Optimize redundant devuuid() calls by storing content file UUIDs in a dedicated field 2026-07-30 16:26:39 +02:00
Andrea Mazzoleni
f94dd3873a Update TODO 2026-07-30 16:26:39 +02:00
Andrea Mazzoleni
05944c9ff2 Fix translation inconsistencies 2026-07-30 16:26:39 +02:00
Andrea Mazzoleni
82fdb5663d Add support for specifying case-insensitive SMART attribute names in the smartignore option 2026-07-30 16:26:39 +02:00
Andrea Mazzoleni
a6aa723b08 Avoid some hardcoded string sizes 2026-07-30 16:26:39 +02:00
Andrea Mazzoleni
88b0755c87 Merge the CLI and Daemon portable interface 2026-07-30 16:26:39 +02:00
Andrea Mazzoleni
199ec230f7 Avoid a folding VLA warning in clang 2026-07-30 16:26:39 +02:00
Andrea Mazzoleni
de41dca780 Fix translation inconsistencies 2026-07-30 16:26:39 +02:00
Andrea Mazzoleni
0e3ece897b Add Translation section to manual translations 2026-07-30 16:26:39 +02:00
Andrea Mazzoleni
743b804c69 New target make doc 2026-07-30 16:26:39 +02:00
Andrea Mazzoleni
8e92786585 Localize section headers and update content commands in translations 2026-07-30 16:26:39 +02:00
Andrea Mazzoleni
3a02ddb724 Update manual description of content file commands to include all available options 2026-07-30 16:26:39 +02:00
Andrea Mazzoleni
3acc33ef63 Fail Btrfs device listing if an unexpeced error happens 2026-07-30 16:26:39 +02:00
Andrea Mazzoleni
970c380a44 Fix file descriptor leak in os_spawn by enabling O_CLOEXEC for compiled binaries 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
2e12903940 Add support for custom smartctl info options using a [info: ...] tag 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
bcb2e862b9 Skip spinup and spindown for non-rotational devices 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
1764377f93 Refactor portable support 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
c01d72021a Allow tools to be symlinks and hardlinks 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
411272b209 Rename randomize to os_randomize 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
b3377b01ce Use uniform ending on files for parity implementation 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
a6edc95c21 Fix building on x86 for missing AVX512 support 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
d079abbc2b Update translations 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
fd58387aea More CPU info 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
c90e803f0f Add CRC support for macOS 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
d3ce868da3 In the speed test, set the CPU affinity to the expected best core 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
344e8b4467 Run the speed test with and without displacement 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
6032b549fe Allow to specify the wrap size in allocation 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
a40d64a3b2 Refactor and reorganize parity generation functions using inline templates 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
84d274bd2e Add AArch64 NEON parity generation and recovery functions 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
fff2298fee Use vpternlogq in raid_gen3-6_avx512bw to fuse sequential vpxorq instructions into single 3-way XORs 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
0258fbdb64 Gate AVX-512BW gen1/gen2 behind slow_avx512() to avoid double-pumped shuffle penalties 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
a8e644abb7 Requires C99 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
03f5458e90 Further conversions from 32 to 64 bits 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
df0139493b Migrate block_off_t to 64-bit with updated CLI parsing, VLQ serialization, and format specifiers 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
e8b3059511 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-07-30 16:26:38 +02:00
Andrea Mazzoleni
2483daa126 Inject variable page-offset noise to disk buffer displacement to mitigate prefetcher contention 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
12e843b06e Use the optimal displacement depending on the number of disks 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
3ea5c479c3 Change RAID AVX512/GFNI functions to use forward iterations 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
960e97ac36 Remove the special case of a single data disk when not strictly required 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
bb36e50376 Remove unused level 0 from the pshufb table 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
59854c7c06 Change the AVX512BW generation to use pshufb also for Q parity 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
42631042f5 Extend the pshufb table to include the Q parity coefficients 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
a4dc9b43b5 New displacement benchmarks 2026-07-30 16:26:38 +02:00