Use fallocate() with an offset starting at the missing data

This works better with Btrfs.
This commit is contained in:
Andrea Mazzoleni 2017-11-24 21:56:12 +01:00
parent 701b0e67e1
commit 68563650c9
2 changed files with 12 additions and 3 deletions

View file

@ -13,6 +13,7 @@ SnapRAID HISTORY
* In Linux use by default the advise "discard" mode instead of "flush".
This avoids to swap-out the other process memory, leaving the system
more responsive.
* Changed the fallocate() use to work better with Btrfs with parity disks.
* Changed the --test-io-stats screen to print the file name in process
for each disk.