-
Notifications
You must be signed in to change notification settings - Fork 6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rbd-mirror: fix sparse read optimization in image sync
Issue truncate or zero ops for the subtracted extents between the diff and the sparse read. Fixes: http://tracker.ceph.com/issues/18146 Signed-off-by: Mykola Golub <mgolub@mirantis.com> (cherry picked from commit a2cfc17) Conflicts: src/test/rbd_mirror/test_ImageSync.cc In TEST_F(TestImageSync, Resize), removed true param in operations->resize() call
- Loading branch information
Abhishek Varshney
committed
Dec 20, 2016
1 parent
43f5a3b
commit d9ea6ea
Showing
3 changed files
with
118 additions
and
8 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