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

luminous: rbd: parallelize rbd ls -l #16921

Merged
merged 1 commit into from Aug 9, 2017

Commits on Aug 8, 2017

  1. rbd: parallelize rbd ls -l

    When a cluster contains a large number of images, "rbd ls -l" takes a
    long time to finish. In my particular case, it took about 58s to
    process 3000 images.
    "rbd ls -l" opens each of image and that takes majority of time, so
    improve this by using aio_open() and aio_close() to do it
    asynchronously. This reduced total processing time down to around 15
    seconds when using default 10 concurrently opened images.
    
    Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
    (cherry picked from commit 8f76fc8)
    branch-predictor authored and Jason Dillaman committed Aug 8, 2017
    Copy the full SHA
    6afc947 View commit details
    Browse the repository at this point in the history