Andrea Mazzoleni
69d467e9ef
Track deallocated files in the content file for parity recovery
...
Add a new 'dealloc' list per disk to record files that were removed
or modified during a scan. This list is saved in the content file
(new format version SNAPCNT4) so that past parity contributions of
those files can be imported from previous snapshots.
2026-07-13 11:03:55 +02:00
Andrea Mazzoleni
21673eb805
Change commenting style
2026-07-13 11:03:55 +02:00
Andrea Mazzoleni
dd0ded0be5
Sync no longer requires clearing the past hash
...
It no longer assumes past hashes are valid if even a single unsynced
block exists, which indicates a previous sync was interrupted.
While this makes syncing slower after an interruption, it preserves the
past hash in the content file, enabling a more reliable fix if a
disk fails following an incomplete sync.
This ensures the --import option remains functional even after an
interrupted sync.
2026-07-13 11:03:55 +02:00
Andrea Mazzoleni
e9871d65ff
Add Btrfs snapshot support for atomic sync and recovery consistency
2026-07-13 11:03:55 +02:00
Andrea Mazzoleni
54a9f3b576
Get the UUID from the imported file or directory
2026-07-13 11:03:55 +02:00
Andrea Mazzoleni
1093ba9bbb
Abort saving content file if rehash blocks exist with undefined previous checksum
2026-07-13 11:02:33 +02:00
Andrea Mazzoleni
cc99a22929
Add protection for block position integer overflow
2026-06-03 19:07:31 +02:00
Andrea Mazzoleni
6e59f2ca7b
Print the stop message also with the GUI
2026-06-03 12:33:29 +02:00
Andrea Mazzoleni
cf452a091d
Log using log_error all errors that are not resulting in an early termination
2026-06-03 12:33:29 +02:00
Andrea Mazzoleni
96e20b3912
Switch esc_tag and path formatting to a contiguous thread-local circular pool to eliminate stack bloat
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-29 11:22:04 +02:00
Andrea Mazzoleni
ee5c7ebf13
Verify smartignore range
2026-05-21 16:08:03 +02:00
Andrea Mazzoleni
00e50bd965
Fix wrong sizeof
2026-05-20 00:27:12 +02:00
Andrea Mazzoleni
10c327a558
Fixed syncing of the directory of the content file
2026-05-20 00:27:12 +02:00
Andrea Mazzoleni
4d09bffb94
Support the root filesystem as data and parity disk
2026-05-20 00:21:10 +02:00
Andrea Mazzoleni
b428cd80cc
Verify the number of splits
2026-05-20 00:17:46 +02:00
Andrea Mazzoleni
9d7dcdd479
If skip_access is enabled, don't call fsinfo on the device
2026-05-20 00:17:18 +02:00
Andrea Mazzoleni
4ba6ee874c
Log the modification time of the content file in probe and other commmands
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
5b0bc91c49
Fix typo in message
2026-03-19 15:08:41 +01:00
Andrea Mazzoleni
c153898c9a
Log devices mapping
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-16 12:43:23 +01:00
Andrea Mazzoleni
189029749e
Configuration is now required also for smart and probe commands
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-03-12 16:19:40 +01:00
Andrea Mazzoleni
b8b1d38781
Speed up reading of content file disabling mutexes
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-11 16:09:09 +01:00
Andrea Mazzoleni
60c7b6baa3
New extra config option for additional disks to monitor
2026-03-11 16:05:39 +01:00
Andrea Mazzoleni
27c44ce56e
Quote tags in the logs
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-02 17:57:29 +01:00
Andrea Mazzoleni
b3879f7f8e
Rework the portable support
2026-03-02 09:56:27 +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
7af0111c4a
Fix leak on error when writing content file
2026-02-18 19:48:30 +01:00
Andrea Mazzoleni
5dfeaf0ef6
Return with an error code if the there is a thermal alert that prevent starting
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-09 23:52:10 +01:00
Andrea Mazzoleni
f89d5fa4f3
Unified the two --force-realloc logics
2026-02-09 14:39:19 +01:00
Ralf
966583e6f0
Add a new -W, --force-realloc-tail that operates only on the specified tail
...
Co-authored-by: Andrea Mazzoleni <amadvance@gmail.com>
2026-02-09 14:39:19 +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
4d39bd5adf
Log ETA in seconds. Also use empty fields if the value is not available.
2026-02-08 14:41:12 +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
60bd71d184
Log new block_unsynced and block_unscrubbed counter
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
f134201438
Log more information about the filesystems
2026-01-31 16:30:15 +01:00
Andrea Mazzoleni
9f081f9c22
Log the filesystem type and label
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-01-29 19:34:33 +01:00
Andrea Mazzoleni
bc1b238b3a
Fix remaining message
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-01-26 14:46:46 +01:00
Andrea Mazzoleni
af2e957085
Stop reading ignore files at the first error
2026-01-26 14:41:43 +01:00
Andrea Mazzoleni
e80734fc4c
Fix typos
2026-01-22 16:13:25 +01:00
Andrea Mazzoleni
9d383f08c9
Log the content file counters
2026-01-16 10:40:57 +01:00
Andrea Mazzoleni
e9756461af
Failing to flush is an I/O error
2026-01-16 10:05:31 +01:00
Andrea Mazzoleni
9f14dd94e5
Add support for ** in the patterns
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-win (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
2026-01-11 15:48:36 +01:00
Andrea Mazzoleni
36cef9ee89
New .snapraidignore feature
2026-01-11 12:07:01 +01:00
Andrea Mazzoleni
6a912b4726
Optimize the stream support for small text files
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
928469bc3d
Avoid some warnings reported with higher optimization
2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
d46a2402b6
Beautify code with uncrustify
2026-01-05 15:59:03 +01:00
Andrea Mazzoleni
75b6170b79
Rework size and uuid tags
2026-01-04 18:01:19 +01:00