Commit graph

388 commits

Author SHA1 Message Date
Andrea Mazzoleni
5b62fb9c2b Update HISTORY 2024-01-10 14:22:14 +01:00
Andrea Mazzoleni
986e16b4e8 Fix build issue with GLIBC 2.36
The sys/mount.h and linux/mount.h (included by linux/fs.h) are incompatible
in glibc 2.36 as both declare fsconfig_command.
Anyway, sys/mount.h is needed only in darwin for statfs and we can avoid to
include it in linux.
2022-08-17 17:50:40 +02:00
Andrea Gelmini
2dacb15516 Fix typos
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
2022-07-21 14:48:48 +02:00
Andrea Mazzoleni
eb19c79039 Increase default disk cache to 16 MiB 2022-01-09 17:46:10 +01:00
Andrea Mazzoleni
b9721747c5 Reduce stack allocation in dir scanning
This allow to work in environments with low stack size, like MUSL that has only 128K.
2022-01-09 09:06:18 +01:00
Andrea Mazzoleni
f31395dffb Add support for parallel disk scanning 2021-11-28 16:20:00 +01:00
Andrea Mazzoleni
d231bb8ae8 Update HISTORY 2021-09-27 21:45:08 +02:00
Andrea Mazzoleni
6e717a8239 Updated HISTORY 2021-06-24 07:40:34 +02:00
Andrea Mazzoleni
7654ed45f1 In fix/check with the -e option process the whole files with bad blocks 2021-05-22 22:28:19 +02:00
Andrea Mazzoleni
922719c1d7 Update HISTORY 2020-05-26 12:54:17 +02:00
Andrea Gelmini
986e9b4131 Fix typos 2020-05-26 12:50:15 +02:00
Andrea Mazzoleni
666937f0b4 Remove the default -march=native 2020-05-26 12:48:56 +02:00
Andrea Mazzoleni
5bac3d64a6 Fix build errors due new gcc 10 default for -fno-common 2020-05-18 15:28:55 +02:00
Andrea Mazzoleni
2f9e0e6fdd Update HISTORY 2020-04-24 21:02:47 +02:00
Andrea Mazzoleni
d294c11b43 Update HISTORY 2019-11-16 08:42:46 +01:00
Andrea Mazzoleni
28f66faa1f Update HISTORY 2019-06-04 19:28:46 +02:00
Andrea Mazzoleni
91671274bc Don't fix the size of filtered out parities 2019-05-19 16:46:03 +02:00
Andrea Mazzoleni
a873eee208 Improve parity fixing speed 2019-05-19 10:04:53 +02:00
Andrea Mazzoleni
37b0064d60 Remove a build warning about major/minor defined in sysmacros.h
The new glibc 2.26 shows a warning if the code uses major/minor
from sys/types.h. Unfortunalte the autoconf macro used do not trigger
sysmacros.h inclusion because major/minor are already defined in sys/types.h.
2018-11-12 21:27:34 +01:00
Andrea Mazzoleni
17f44f519e Update HISTORY 2018-11-03 09:41:12 +01:00
Andrea Mazzoleni
f8d86abf4f Automatically fix any scrub date that is in the future 2018-09-25 22:19:39 +02:00
Andrea Mazzoleni
294a0ae90d Fix future scrub times 2018-09-25 22:02:14 +02:00
Andrea Mazzoleni
473819467f Improve crash resilience in Linux
Syncing the directory is a required step to ensure resilience.
Also create the temporary file with O_EXCL to ensure to don't
use a stale copy that may link to the original copy.
2018-06-04 22:19:10 +02:00
Andrea Mazzoleni
9d142e72a4 List the full nanosecond precision in verbose mode 2018-04-01 23:08:13 +02:00
Valentin Hilbig
3f838753ca Fix scanning of devices with multiple slaves 2018-01-04 20:08:27 +01:00
Andrea Mazzoleni
29d355131b Update HISTORY 2017-12-26 17:58:48 +01:00
Andrea Mazzoleni
82a55f4b8f Update HISTORY 2017-11-24 23:02:45 +01:00
Andrea Mazzoleni
68563650c9 Use fallocate() with an offset starting at the missing data
This works better with Btrfs.
2017-11-24 23:02:41 +01:00
Andrea Mazzoleni
701b0e67e1 Change the default advise mode to "discard"
This avoids to swap out other process memory.
2017-11-24 22:17:28 +01:00
Andrea Mazzoleni
b9740e06f4 Print filenames in the stats screen 2017-11-24 22:17:24 +01:00
Andrea Mazzoleni
f778fb691f Apply new hardlink behaviour also to NTFS in nix platforms
This is a specific NTFS behaviour, not limited to Windows.
2017-10-29 18:43:53 +01:00
Andrea Mazzoleni
2a8f963707 Fix recognition of Windows hardlinks
In Windows hardlinks may have different time and size attributes
reported by FindFirst. This is persistent until the link is opened.
2017-10-27 22:59:14 +02:00
Andrea Mazzoleni
33a9bde7bb Improve the pool command
The links are written only if they need to be updated.
2017-09-24 19:00:58 +02:00
Andrea Mazzoleni
80f4746c68 Update HISTORY 2017-05-07 15:30:05 +02:00
Andrea Mazzoleni
17bec43be2 Set time of pool links
This avoid index refresh from various applications.
2017-05-01 16:07:04 +02:00
Andrea Mazzoleni
761ede567a Fix check to ignore unused parity blocks 2017-03-26 18:38:52 +02:00
Andrea Mazzoleni
f0f6d0bc12 Update HISTORY 2017-03-26 12:04:46 +02:00
Andrea Mazzoleni
98550dd0f1 Update HISTORY 2017-02-25 14:32:07 +01:00
Andrea Mazzoleni
1681f7c9c7 Fix quoting in Linux
We cannot quote UTF-8 chars.
2017-02-24 22:26:35 +01:00
Andrea Mazzoleni
d0b26aa820 Update HISTORY 2017-01-09 18:58:20 +01:00
Andrea Mazzoleni
a4517949ee Update HISTORY 2016-12-29 08:50:40 +01:00
Andrea Mazzoleni
40a0a16012 Update HISTORY 2016-11-21 18:53:17 +01:00
Andrea Mazzoleni
a90f8db3c0 Ingnore the SMART Command Timeout for Seagate SMR disks 2016-10-13 18:57:14 +02:00
Andrea Mazzoleni
faa530e83e Allow to change the output format
The new test option allows to restore the past
behaviour, just in case...
2016-10-11 20:30:12 +02:00
Andrea Mazzoleni
ba0184c37c Add a test option to skip the space holder 2016-10-05 00:12:29 +02:00
Andrea Mazzoleni
b1fc75adab Make -F to not reallocate parity
This is now done by the new -R option.
2016-10-01 22:19:29 +02:00
Andrea Mazzoleni
d8754eeb94 Update HISTORY 2016-09-09 20:55:10 +02:00
Andrea Mazzoleni
85df40f40d Clarify about the space holder for Windows
In Windows we keep 256 MB to avoid warnings.
2016-08-31 22:26:17 +02:00
Andrea Mazzoleni
abe5a6984a Update HISTORY 2016-06-22 21:04:52 +02:00
Andrea Mazzoleni
b3cc9192cd Don't print disk dir in info 2016-05-29 19:23:42 +02:00