Commit graph

2332 commits

Author SHA1 Message Date
Andrea Mazzoleni
65a7aa9bcb Run PowerShell commands safely via base64 encoded strings 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
204eec0029 Pass element count instead of byte count to WCHAR buffer bounds 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
ae98176236 Synchronize child_process updates using interlocked Win32 APIs 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
7afa3f75d6 Avoid 100% CPU utlization in thread_yield 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
3a54bc5cf5 Document why thread_yield is used 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
78e3c1bc1c Abort on privilege switch failures unless errno is EPERM 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
551d660913 Allocate minimum 1 byte in malloc_nofail when size is 0 to prevent process abort 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
8c101ffd01 Use sig_atomic_t 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
01bfd70e6a Clarify comment about reading uuids 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
53a12e9986 Align data disk UUID validation and write logic with parity splits using content_uuid 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
784fc7bf1f Optimize redundant devuuid() calls by storing content file UUIDs in a dedicated field 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
9419bd349b Update TODO 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
b5f0b2c53d Fix translation inconsistencies 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
4c74b3d7c1 Add support for specifying case-insensitive SMART attribute names in the smartignore option 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
d3be81691b Avoid some hardcoded string sizes 2026-07-29 16:49:03 +02:00
Andrea Mazzoleni
c20b1d5762 Merge the CLI and Daemon portable interface 2026-07-29 16:49:01 +02:00
Andrea Mazzoleni
d4caf84448 Avoid a folding VLA warning in clang 2026-07-29 16:46:28 +02:00
Andrea Mazzoleni
1afce3e736 Fix translation inconsistencies 2026-07-29 16:46:28 +02:00
Andrea Mazzoleni
1c888f645f Add Translation section to manual translations 2026-07-29 16:46:28 +02:00
Andrea Mazzoleni
b61413d7e2 New target make doc 2026-07-29 16:46:28 +02:00
Andrea Mazzoleni
1253fe412a Localize section headers and update content commands in translations 2026-07-29 16:46:28 +02:00
Andrea Mazzoleni
c41cd7d127 Update manual description of content file commands to include all available options 2026-07-29 16:46:28 +02:00
Andrea Mazzoleni
c0b7900f4c Fail Btrfs device listing if an unexpeced error happens 2026-07-29 16:46:28 +02:00
Andrea Mazzoleni
e010c8e88c Fix file descriptor leak in os_spawn by enabling O_CLOEXEC for compiled binaries 2026-07-29 16:46:28 +02:00
Andrea Mazzoleni
b9d181d9cb Add support for custom smartctl info options using a [info: ...] tag 2026-07-29 16:46:28 +02:00
Andrea Mazzoleni
7c9473027c Skip spinup and spindown for non-rotational devices 2026-07-29 16:46:27 +02:00
Andrea Mazzoleni
d11c872fb6 Refactor portable support 2026-07-29 16:46:27 +02:00
Andrea Mazzoleni
60daeb6dfa Allow tools to be symlinks and hardlinks 2026-07-29 16:46:27 +02:00
Andrea Mazzoleni
130aaddbd0 Rename randomize to os_randomize 2026-07-29 16:46:27 +02:00
Andrea Mazzoleni
525d789f57 Use uniform ending on files for parity implementation 2026-07-29 16:46:27 +02:00
Andrea Mazzoleni
7af3efa1c0 Fix building on x86 for missing AVX512 support 2026-07-29 16:46:27 +02:00
Andrea Mazzoleni
90b2aa827c Update translations 2026-07-29 16:46:27 +02:00
Andrea Mazzoleni
ca0f3545bf More CPU info 2026-07-29 16:46:27 +02:00
Andrea Mazzoleni
e7c85a1af3 Add CRC support for macOS 2026-07-29 16:46:27 +02:00
Andrea Mazzoleni
0f4630377c In the speed test, set the CPU affinity to the expected best core 2026-07-29 16:46:27 +02:00
Andrea Mazzoleni
c2827dcfed Run the speed test with and without displacement 2026-07-29 16:46:27 +02:00
Andrea Mazzoleni
a457795e7c Allow to specify the wrap size in allocation 2026-07-29 16:46:27 +02:00
Andrea Mazzoleni
e0f7f9fa6f Refactor and reorganize parity generation functions using inline templates 2026-07-29 16:46:27 +02:00
Andrea Mazzoleni
677aa0cc90 Add AArch64 NEON parity generation and recovery functions 2026-07-29 16:46:27 +02:00
Andrea Mazzoleni
7358bc0879 Use vpternlogq in raid_gen3-6_avx512bw to fuse sequential vpxorq instructions into single 3-way XORs 2026-07-29 16:46:27 +02:00
Andrea Mazzoleni
0fd84857cc Gate AVX-512BW gen1/gen2 behind slow_avx512() to avoid double-pumped shuffle penalties 2026-07-29 16:46:27 +02:00
Andrea Mazzoleni
3f68b2da4e Requires C99 2026-07-29 16:46:27 +02:00
Andrea Mazzoleni
3d7316e7f8 Further conversions from 32 to 64 bits 2026-07-29 16:46:26 +02:00
Andrea Mazzoleni
022f63846a Migrate block_off_t to 64-bit with updated CLI parsing, VLQ serialization, and format specifiers 2026-07-29 16:45:31 +02:00
Andrea Mazzoleni
62f791886e 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-29 16:45:31 +02:00
Andrea Mazzoleni
506e417e5f Inject variable page-offset noise to disk buffer displacement to mitigate prefetcher contention 2026-07-29 16:45:31 +02:00
Andrea Mazzoleni
ce62fbb37c Use the optimal displacement depending on the number of disks 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
82157617ee Change RAID AVX512/GFNI functions to use forward iterations 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
20b3cd5dc1 Remove the special case of a single data disk when not strictly required 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
5d0b4df8e1 Remove unused level 0 from the pshufb table 2026-07-29 16:45:30 +02:00