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

octopus: librbd/object_map: rbd diff between two snapshots lists entire image content #43806

Merged
merged 2 commits into from Jan 21, 2022

Commits on Nov 4, 2021

  1. librbd/object_map: rbd diff between two snapshots lists entire image …

    …content
    
    Problem:
    rbd diff between two snapshots lists entire image content with `whole-object` switch.
    
    Solution:
    While computing resize diff during object map do not mark state as new data
    unless diff state is valid.
    
    Fixes: https://tracker.ceph.com/issues/50787
    Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
    (cherry picked from commit 399a45e)
    sunnyku committed Nov 4, 2021
    Configuration menu
    Copy the full SHA
    6ba8fb4 View commit details
    Browse the repository at this point in the history
  2. test/librbd: add test condition for whole-object switch with fast dif…

    …f enable
    
    This patch adds a test condition to test fast diff between two snapshots
    with whole-object switch.
    
    `TestMockObjectMapDiffRequest.EndDelta` expects diff state
    `DIFF_STATE_DATA_UPDATED` which is an incorrect expectation when diff is calculated
    between two snapshots.
    
    Fixes: https://tracker.ceph.com/issues/50787
    
    Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
    (cherry picked from commit 8d62c4a)
    sunnyku committed Nov 4, 2021
    Configuration menu
    Copy the full SHA
    cd8c36e View commit details
    Browse the repository at this point in the history