Andrea Mazzoleni
111d2b588e
Avoid some hardcoded string sizes
2026-06-25 22:36:47 +02:00
Andrea Mazzoleni
e9a7a13f11
Merge the CLI and Daemon portable interface
2026-06-25 20:56:13 +02:00
Andrea Mazzoleni
1bc76e3ca4
Fail Btrfs device listing if an unexpeced error happens
2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
386f5b3dd4
Fix file descriptor leak in os_spawn by enabling O_CLOEXEC for compiled binaries
2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
cb3520de0c
Add support for custom smartctl info options using a [info: ...] tag
2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
4c5ba26e12
Skip spinup and spindown for non-rotational devices
2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
417d073710
Refactor portable support
2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
600e008b21
Allow tools to be symlinks and hardlinks
2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
9889954b7e
Rename randomize to os_randomize
2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
a69cd8b79c
More CPU info
2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
17907d5960
Add CRC support for macOS
2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
9922001b2d
In the speed test, set the CPU affinity to the expected best core
2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
124661886c
Run the speed test with and without displacement
2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
2555eff8d1
Allow to specify the wrap size in allocation
2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
5b1258b704
Add AArch64 NEON parity generation and recovery functions
2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
a8a85b2a11
Further conversions from 32 to 64 bits
2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
97565a4adb
Migrate block_off_t to 64-bit with updated CLI parsing, VLQ serialization, and format specifiers
2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
24389023ad
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-06-23 11:47:51 +02:00
Andrea Mazzoleni
05e79de5a8
Use the optimal displacement depending on the number of disks
2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
72edbe4d01
Assume the assembler supports all x86 SSE/AVX instructions
2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
c4f9869f98
Add support for AVX2 GFNI
2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
994c208315
Disable AVX512 on CPUs with narrow shuffle ports or double-pumped 256-bit datapath
2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
0b5d0d981a
Extend io_init() to support arbitrary combinations of data and parity operations
2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
f93f56f59f
Do not expose Windows threads keys
2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
88b92d8758
Validate GUIDs before passing them to PowerShell
2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
b8e32c68eb
Take into account that btrfs devices can be not contiguous
2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
759bbc53ac
Portability
2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
64737da4b9
Secure the popen use
2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
d45c1007e7
Delete snapshot links in Windows
2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
9f62f23da0
Report issues in github
2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
26499a8f4b
Automatically exclude the snapshot .snapraid directory and content files
2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
582899a7cc
Preliminary support for AVX512GFNI
2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
1551644589
Allow to configure path of external tools
2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
a33e048a4b
Secure external tools execution
2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
084ced8699
Add Windows VirtualShadowCopy support for snapshots
2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
d9a706c072
Add Windows support for symlink of directories
2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
91075e1e65
In Windows readlink now convert \ to / to match symlink behaviour
2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
b20dc395e9
Always use PATH_MAX instead of MAX_PATH (limited to 260)
2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
32110bb0cf
Sanitize shell execution
2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
f7fe1ea999
Add ZFS support
2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
bfc92e5c05
Rework snapshot interface
2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
ec97fb95d2
Add Bcachefs support
2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
ca38c50ef7
Change the BLOCK_HASH_SIZE type to avoid potential overflow
2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
9f6ba96f87
Target Windows 7 instead of Windows Vista
2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
e19c6847c3
Modernize configure.ac
2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
c4ec1f6a09
More coverage support
2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
50b2e1075e
Add regression check for Btrfs
...
It requires root privileges as it has to create Btrfs filesystems.
2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
e719aaf44c
Remove the requirement to snapshot content files
...
The new content file format now includes metadata for previous versions
of files. This allows the fix command to access historical file data from
snapshots as needed, ensuring recovery even if the live filesystem has
changed or the file was deleted during a sync.
2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
9d3c92e64c
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-06-23 11:47:50 +02:00
Andrea Mazzoleni
8638563a58
Change commenting style
2026-06-23 11:47:50 +02:00