Skip to content
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: clone overlay data #7860

Merged
merged 3 commits into from Mar 17, 2016

Conversation

majianpeng
Copy link
Member

Make BlueStore::_clone work when source-object has overlay data.

@majianpeng majianpeng changed the title Bluestores clone overlay [BlueStore]Bluestores clone overlay data Mar 1, 2016
@liewegas liewegas self-assigned this Mar 1, 2016
Don't forget copy overlay data when do _clone.
Because bluestore_overlay_max_length & bluestore_overmay_max maybe
changed. So the data of source object maybe not write into overlay for
dest object. For this case, we don't share the extent.

For simple, we don't care whether can write data into overlay.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
@liewegas liewegas added this to the jewel milestone Mar 15, 2016
@liewegas liewegas changed the title [BlueStore]Bluestores clone overlay data os/bluestore: clone overlay data Mar 17, 2016
liewegas added a commit that referenced this pull request Mar 17, 2016
os/bluestore: clone overlay data

Reviewed-by: Sage Weil <sage@redhat.com>
@liewegas liewegas merged commit fd61b50 into ceph:master Mar 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants