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: batch object map updates during trim #11510

Merged
merged 1 commit into from Nov 5, 2016

Commits on Nov 3, 2016

  1. librbd: batch ObjectMap updations upon trim

    Shrinking a clone which has snapshots and does not share
    majority of objects with its parent (i.e., there are less
    objects to be copied up) involves huge number of object
    map updates -- two (pre, post) per object. This results
    in lots of requests to be send to OSDs especially when
    trimming a gigantus image. This situation can be optimized
    by sending batch ObjectMap updates for an object range
    thereby significantly cutting down OSD traffic resulting
    in faster trim times.
    
    Fixes: http://tracker.ceph.com/issues/17356
    Signed-off-by: Venky Shankar <vshankar@redhat.com>
    vshankar committed Nov 3, 2016
    Copy the full SHA
    05653b7 View commit details
    Browse the repository at this point in the history