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

rbd: add --object-size option #6830

Merged
merged 1 commit into from Dec 8, 2015
Merged

Commits on Dec 8, 2015

  1. rbd: add --object-size option

    Object size can be specified when creating an image with the --order option,
    as a number of bits in the size.
    
    This patch is adding new option --object-size. This new option will specify
    object size directly for example --object-size 2M.
    
    It would be easier to use. --order is still present for backwards compatibility.
    For simplicity, we are rounding up the object size to the nearest power of 2.
    
    Fixes ceph#12112
    
    Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
    vumrao committed Dec 8, 2015
    Copy the full SHA
    71690e7 View commit details
    Browse the repository at this point in the history