Commit graph

1043 commits

Author SHA1 Message Date
Andrea Mazzoleni
87977f28f4 Harden PowerShell execution with safe SearchPathW and os_spawn 2026-08-18 23:33:58 +02:00
Andrea Mazzoleni
c1fa9e23b6 Remove legacy in-place mtime_nsec migration in multithread scanner 2026-08-18 23:33:58 +02:00
Andrea Mazzoleni
a8ffcec127 Accumulate ReadCount and WriteCount into 64-bit count in devstat 2026-08-18 23:33:58 +02:00
Andrea Mazzoleni
091e44afed Handle short writes and EINTR in sflush, handle_write, and parity_write 2026-08-18 23:33:58 +02:00
Andrea Mazzoleni
712b54ec98 Reject incomplete VPD page 0x80 instead of clamping page_len 2026-08-18 23:33:58 +02:00
Andrea Mazzoleni
8707c588a0 Fix 16-bit big-endian length parsing for SCSI VPD page 0x80 2026-08-18 23:33:58 +02:00
Andrea Mazzoleni
59f3086841 Track read-only handle fallback to report accurate write permission errors instead of EBADF 2026-08-18 23:33:58 +02:00
Andrea Mazzoleni
05778a9a46 Serialize bandwidth rate limiter sleep inside mutex to eliminate parallel worker stall waves 2026-08-18 23:33:58 +02:00
Andrea Mazzoleni
9c93cbfcaa Forward configuration file options to spindown on error 2026-08-18 23:33:58 +02:00
Andrea Mazzoleni
8c9a91c93b Improve error message when content files are damaged or truncated 2026-08-18 23:33:58 +02:00
Andrea Mazzoleni
35b4d4b2ed Remove stale snapshot link if renaming device link fails on Windows 2026-08-18 23:33:58 +02:00
Andrea Mazzoleni
cdd8798227 Use unsigned char for character range comparisons in match_class 2026-08-18 23:33:58 +02:00
Andrea Mazzoleni
180f7edc2f Decode mountinfo octal escapes during Bcachefs device dereferencing 2026-08-18 23:33:58 +02:00
Andrea Mazzoleni
39e55d3002 Fix ZFS dataset discovery when mount paths contain spaces 2026-08-18 23:33:57 +02:00
Andrea Mazzoleni
30417d57a5 Exclude snapshot directory only when snapshot mode is enabled 2026-08-18 23:33:57 +02:00
Andrea Mazzoleni
daf713820e Add os_usleep with bounded sleep loop returning on signal interruption and use it in bandwidth limiter 2026-08-18 23:33:57 +02:00
Andrea Mazzoleni
2bf74bc66f Index deallocated snapshot blocks in previmportset during rehash 2026-08-18 23:33:57 +02:00
Andrea Mazzoleni
f453a72369 Preserve recovery state until a full clean sync completes 2026-08-18 23:33:57 +02:00
Andrea Mazzoleni
349c18a0a8 Sync rejects block ranges and always process full parity 2026-08-18 23:33:57 +02:00
Andrea Mazzoleni
1015e2a6c5 Remove duplicate scrub parity mismatch diagnostic 2026-08-18 23:33:57 +02:00
Andrea Mazzoleni
9255157519 Fix per-file block index overflow beyond 32 bits 2026-08-18 23:33:57 +02:00
Andrea Mazzoleni
6c8bee76fa Continue snapshot renames across per-disk failures 2026-08-18 23:33:57 +02:00
Andrea Mazzoleni
7eaec5ca70 Fix thermal device list cleanup on early exits 2026-08-18 23:33:57 +02:00
Andrea Mazzoleni
3d23853de7 Log explicit warning when missing snapshots fall back to live filesystem 2026-08-18 23:33:57 +02:00
Andrea Mazzoleni
7b7a2d5d00 Fail sync if snapshot setup fails on a supported filesystem 2026-08-18 23:33:57 +02:00
Andrea Mazzoleni
3f0c194a2f Fix snapshot commit failure propagation to ensure sync exits with error 2026-08-18 23:33:57 +02:00
Andrea Mazzoleni
661e539f45 Defer pending snapshot promotion until parity sync 2026-08-18 23:33:57 +02:00
Andrea Mazzoleni
cd4e06a215 Fix Bcachefs snapshot renaming to use the atomic rename syscall 2026-08-18 23:33:57 +02:00
Andrea Mazzoleni
1c3f695d5a Isolate child process group with setpgid to prevent double signal delivery 2026-08-18 23:33:57 +02:00
Andrea Mazzoleni
4defb748e8 Document why invalid GUID validation in fssnapshot_create returns immediately without WMI cleanup 2026-08-18 23:33:57 +02:00
Andrea Mazzoleni
eebb3943e5 Protect rate limiter state updates with a mutex to prevent data races 2026-08-18 23:33:57 +02:00
Andrea Mazzoleni
b4a694bb10 Align Windows rotational device detection fallback with Unix by assuming rotational when unknown 2026-08-18 23:33:57 +02:00
Andrea Mazzoleni
3e4f79180e Fix potential division by zero in nalloc_nofail when size is zero 2026-08-18 23:33:57 +02:00
Andrea Mazzoleni
74a62a8d82 Change the speed report link 2026-08-18 23:33:57 +02:00
Andrea Mazzoleni
86a9064a68 Add S_ISBLK checks to devdereference_btrfs and devdereference_bcachefs 2026-08-18 23:33:57 +02:00
Andrea Mazzoleni
c4d509438f Add devlabel_dev to read volume labels from /dev/disk/by-label 2026-08-18 23:33:57 +02:00
Andrea Mazzoleni
f818d9426b Remove libblkid support and build dependency 2026-08-18 23:33:57 +02:00
Andrea Mazzoleni
413e46251e Add FS_IOC_GETFSLABEL ioctl support for reading filesystem labels in Linux 2026-08-18 23:33:57 +02:00
Andrea Mazzoleni
97b13557fe Reset all SMART attribute fields (raw, norm, worst, thresh) to SMART_UNASSIGNED when ignored 2026-08-18 23:33:56 +02:00
Andrea Mazzoleni
3a3152a36f Comment about syshex 2026-08-18 23:33:56 +02:00
Andrea Mazzoleni
6491de0eaa Fail devdereference_zfs and devdereference_bcachefs if stat or S_ISBLK checks fail on any device 2026-08-18 23:33:56 +02:00
Andrea Mazzoleni
f518a1ba18 Return error in devdereference_bcachefs if no devices are found 2026-08-18 23:33:56 +02:00
Andrea Mazzoleni
8562e4f28e Free devlist allocations on error in devdereference_btrfs 2026-08-18 23:33:56 +02:00
Andrea Mazzoleni
c4511e28bc Fallback to rotational in devpower if sysfs attribute is unknown 2026-08-18 23:33:56 +02:00
Andrea Mazzoleni
0ca7c65049 Support filesystems with invalid inode numbers on individual files 2026-08-18 23:33:56 +02:00
Andrea Mazzoleni
3878c0e2e6 Silence clang static analyzer warnings 2026-08-18 23:33:56 +02:00
Andrea Mazzoleni
05884d7aa0 Fix binary varint decoders to reject values overflowing uint32_t/uint64_t declared widths 2026-08-18 23:33:56 +02:00
Andrea Mazzoleni
02413b756c Validate the product/model returned by the Windows driver 2026-08-18 23:33:56 +02:00
Andrea Mazzoleni
c79f82bc99 Update to the new RAID library 2026-08-18 23:33:56 +02:00
Andrea Mazzoleni
9a2ea26a62 Fix build in different directory 2026-08-18 23:33:56 +02:00