New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os/bluestore: fix dirty_range on _do_clone_range #16738

Merged
merged 1 commit into from Aug 3, 2017
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Diff settings

Always

Just for now

@@ -10928,7 +10928,7 @@ int BlueStore::_do_clone_range(
// make sure it is shared
if (!blob.is_shared()) {
c->make_blob_shared(_assign_blobid(txc), e.blob);
if (dirty_range_begin == 0) {
if (dirty_range_begin == 0 && dirty_range_end == 0) {
dirty_range_begin = e.logical_offset;
}
assert(e.logical_end() > 0);
ProTip! Use n and p to navigate between commits in a pull request.