Commit graph

2749 commits

Author SHA1 Message Date
Andrea Mazzoleni
2a4335ef7d Defer content_info logging and state counters update after content durability rename in state_write
Some checks are pending
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-18 10:00:42 +02:00
Andrea Mazzoleni
601064dde7 Use pathcmp for disk name comparisons to enforce case-insensitive uniqueness on Windows 2026-09-18 10:00:42 +02:00
Andrea Mazzoleni
ecb12ee92c Avoid duplicate fatal stderr output in GUI mode 2026-09-18 10:00:42 +02:00
Andrea Mazzoleni
d0194c3aff Update TODO 2026-09-18 10:00:42 +02:00
Andrea Mazzoleni
0771f91a53 Fix map_end tag formatting by adding trailing colon delimiter 2026-09-18 10:00:42 +02:00
Andrea Mazzoleni
3f3e7d4483 Validate logical disk names in configuration parsing to ensure compatibility with snapraid-daemon 2026-09-18 10:00:41 +02:00
Andrea Mazzoleni
bdc2da9a94 Report elapsed time when loading and saving state 2026-09-18 10:00:41 +02:00
Andrea Mazzoleni
7361c104a5 Treat closed Windows pipes as EOF when reading 2026-09-18 10:00:41 +02:00
Andrea Mazzoleni
73d7394519 Require minimal changes and avoid unnecessary refactoring 2026-09-18 10:00:41 +02:00
Andrea Mazzoleni
65e2d93426 Ensure object directories existfor out-of-tree builds 2026-09-18 10:00:41 +02:00
Andrea Mazzoleni
ce699dd9f8 Handle Windows Ctrl+Break as a graceful SnapRAID interruption 2026-09-18 10:00:41 +02:00
Andrea Mazzoleni
d92d296bcd Lock unsafe command-line options after enabling --lock-options 2026-09-18 10:00:41 +02:00
Andrea Mazzoleni
209b902301 Clarify raid_malloc documentation 2026-09-16 12:24:42 +02:00
Andrea Mazzoleni
4320f0d6b6 Add absolutepath helper for paths that may not exist 2026-09-16 12:24:12 +02:00
Andrea Mazzoleni
5d9b1aee00 Clarify RAID buffer access, aliasing, and zero-size behavior 2026-09-16 08:49:15 +02:00
Andrea Mazzoleni
bfe5ee7643 Document streaming parameter as a strict 0 or 1 value 2026-09-16 08:39:22 +02:00
Andrea Mazzoleni
de00981504 Update RAID notes for fused scalar and AArch32 recovery paths 2026-09-16 08:35:29 +02:00
Andrea Mazzoleni
8b9858ffdc Synchronizes log entries for errors
Some checks are pending
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-15 23:55:21 +02:00
Andrea Mazzoleni
215aed17e7 Emit content read metadata only after successful content loading
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-arm32 (push) Has been cancelled
Build / build-win (push) Has been cancelled
Build / build-freebsd (push) Has been cancelled
Build / build-musl (push) Has been cancelled
CodeQL Advanced / Analyze (c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
2026-09-14 23:26:54 +02:00
Andrea Mazzoleni
78abc2c7b7 Limit maximum consecutive newlines in uncrustify configuration 2026-09-14 22:33:23 +02:00
Andrea Mazzoleni
918a6a192b Update AGENTS.md 2026-09-14 22:12:53 +02:00
Andrea Mazzoleni
8a687d5f54 Document temporary file location 2026-09-14 18:32:41 +02:00
Andrea Mazzoleni
7bc302678e Temporarily hide original autotools files to allow concurrent VPATH builds 2026-09-14 18:27:06 +02:00
Andrea Mazzoleni
c1bcd6a24f Migrate Windows smartctl execution from _wpopen to os_popen and direct process spawning 2026-09-14 18:03:35 +02:00
Andrea Mazzoleni
9f48c87dd4 Encapsulate race-safe process slot synchronization and termination in OS layer for Unix and Windows 2026-09-14 15:00:20 +02:00
Andrea Mazzoleni
d7e06271d9 Add tommytree with bound searches, inlined helpers, and tail-recursion elimination 2026-09-14 09:20:29 +02:00
Andrea Mazzoleni
3bddc127f0 Assign os_script and os_command processes to the global Windows job object 2026-09-14 09:19:19 +02:00
Andrea Mazzoleni
08863cd740 Print progress message after saving content files when multithreading is disabled 2026-09-13 21:15:37 +02:00
Andrea Mazzoleni
f902527a56 Add basic dependencies for cmdline in Makefile.am
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-arm32 (push) Has been cancelled
Build / build-win (push) Has been cancelled
Build / build-freebsd (push) Has been cancelled
Build / build-musl (push) Has been cancelled
CodeQL Advanced / Analyze (c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
2026-09-11 22:57:57 +02:00
Andrea Mazzoleni
33340f1ede Replace mem_is_zero() with membcmp() and update call sites
Some checks are pending
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
787fc020e6 Process content info values in contiguous runs 2026-09-10 23:51:30 +02:00
Andrea Mazzoleni
badff9d548 Skip unsynced block counting for synchronized content 2026-09-10 23:51:30 +02:00
Andrea Mazzoleni
902c19b668 Specialize block hash copies for the full hash size 2026-09-10 23:51:30 +02:00
Andrea Mazzoleni
b64c28b537 Serialize deleted blocks by ordered parity extents 2026-09-10 23:51:30 +02:00
Andrea Mazzoleni
6b5b0098c7 Detect rebuild blocks during state preparation 2026-09-10 23:51:30 +02:00
Andrea Mazzoleni
31f44958a3 Avoid redundant unsynced block scans when writing content 2026-09-10 23:51:30 +02:00
Andrea Mazzoleni
1073c97e0a Skip extent locking during single-threaded content serialization 2026-09-10 23:51:30 +02:00
Andrea Mazzoleni
03545f1685 Resolve file-to-parity mappings once per extent while writing content 2026-09-10 23:51:30 +02:00
Andrea Mazzoleni
d8ea998eb2 Support native advise modes in buffered streams 2026-09-10 23:51:30 +02:00
Andrea Mazzoleni
b762ab9e73 Update timed multithreaded content writers 2026-09-10 23:51:30 +02:00
Andrea Mazzoleni
1b0fa3eb46 Write content block hashes in buffered runs 2026-09-10 23:51:30 +02:00
Andrea Mazzoleni
2952ce4341 Inline buffered writes and process stream boundaries in bulk 2026-09-10 23:51:30 +02:00
Andrea Mazzoleni
71f0735ef7 Decode content block hashes directly from buffered runs 2026-09-10 23:51:30 +02:00
Andrea Mazzoleni
e103590f21 Inline buffered reads and use memcpy for the fast path 2026-09-10 23:51:30 +02:00
Andrea Mazzoleni
17b24c8d21 Allocate content extents by run instead of by block 2026-09-10 23:51:30 +02:00
Andrea Mazzoleni
b14f703d2b Avoid redundant block initialization when loading content files 2026-09-10 23:51:30 +02:00
Andrea Mazzoleni
bc564e7465 Improve speed benchmark stability with adaptive 1 ms sampling and best-result selection 2026-09-10 23:51:30 +02:00
Andrea Mazzoleni
2b784748e3 Propagate final writeback errors from advise_close 2026-09-09 21:25:32 +02:00