-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use accelerated copy functions with rsync
On filesystems that support block-level copy-on-write links (so-called reflinks), the accelerated copy functions can be used by the rsync algorithm to copy the unchanged data from the original file without actually copying it. If reflinks are not supported then an in-kernel copy is attempted instead. Worst case, if this is not supported then data will be copied as usual. For large files with only few changes, this means the following (when filesystem support exists): - syncing will be much faster; copying possibly gigabytes of data around can become almost free; - storage is only required for changed blocks; filesystem snapshots will record only changed blocks, as expected. This is like rsync's --inplace but completely safe.
- Loading branch information
Showing
3 changed files
with
31 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters