Skip to content
Snippets Groups Projects
Commit 8d9f0d204fb6 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

rsync: update file in place

This should make rsync nicer to SSD, and it might make it faster after small
updates.
parent fdff9b6ce641
No related branches found
No related tags found
No related merge requests found
......@@ -308,7 +308,7 @@
os.path.basename(self.clone_path)))
# XXX: This should be deleted at the end but teardown, like setup, is
# called for each repeat...
self.check_output('rsync', '-aH', '--delete', '{}/'.format(self.clone_path),
self.check_output('rsync', '--in-place', '--no-whole-file', '-aH', '--delete', '{}/'.format(self.clone_path),
self.tmp_clone_path)
# Wait for everything to be written on disk to avoid Disk IO wait to
# impact performances metrics
......@@ -342,7 +342,7 @@
os.path.basename(self.clone_path)))
# XXX: This should be deleted at the end but teardown, like setup, is
# called for each repeat...
self.check_output('rsync', '-aH', '--delete', '{}/'.format(self.clone_path),
self.check_output('rsync', '--in-place', '--no-whole-file', '-aH', '--delete', '{}/'.format(self.clone_path),
self.tmp_clone_path)
# Wait for everything to be written on disk to avoid Disk IO wait to
# impact performances metrics
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment