Speedup copying on btrfs #42

Closed
bwaegeneire wants to merge 1 commit from cp-reflink into master
Owner

Copying on filesystems like BTRFS should be significantly faster with --reflink:

When --reflink[=always] is specified, perform a lightweight copy,
where the data blocks are copied only when modified. If this is not
possible the copy fails, or if --reflink=auto is specified, fall back
to a standard copy. Use --reflink=never to ensure a standard copy is
performed.

https://man7.org/linux/man-pages/man1/cp.1.html

Copying on filesystems like BTRFS should be significantly faster with `--reflink`: > When --reflink[=always] is specified, perform a lightweight copy, > where the data blocks are copied only when modified. If this is not > possible the copy fails, or if --reflink=auto is specified, fall back > to a standard copy. Use --reflink=never to ensure a standard copy is > performed. https://man7.org/linux/man-pages/man1/cp.1.html
Owner

We've verified that the tests are still OK.

But, we've also tested on an heavily loaded server and there is no evident gain.

It seems preferable to keep it as simple as possible, so we won't merge this.

That said, it was interresting to look into this kind of optimization, the context and the implementation ;)

We've verified that the tests are still OK. But, we've also tested on an heavily loaded server and there is no evident gain. It seems preferable to keep it as simple as possible, so we won't merge this. That said, it was interresting to look into this kind of optimization, the context and the implementation ;)
jlecour closed this pull request 2020-09-28 13:46:48 +02:00
jlecour deleted branch cp-reflink 2020-09-28 13:47:13 +02:00

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: evolix/evobackup#42
No description provided.