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

librbd: diff_iterate needs to handle holes in parent images #5843

Merged
merged 2 commits into from Sep 9, 2015

Commits on Sep 8, 2015

  1. tests: new test case for librbd diff_iterate over discard extents

    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed Sep 8, 2015
    Copy the full SHA
    d5650c9 View commit details
    Browse the repository at this point in the history
  2. librbd: diff_iterate needs to handle holes in parent images

    If a clone's parent image snapshot includes a discarded extent,
    this was previously causing an assert failure.  Instead, ignore
    any discard holes in the parent image.
    
    Fixes: ceph#12885
    Backport: hammer
    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed Sep 8, 2015
    Copy the full SHA
    3ccc3bb View commit details
    Browse the repository at this point in the history