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

os/bluestore: make zone/span size of bitmap-allocator configurable #10040

Merged
merged 5 commits into from Jul 11, 2016

Commits on Jul 10, 2016

  1. os/bluestore: make zone/span size of bitmap-allocator configurable

    Perviously as zone_size_block and span_size are identical, so we could use
    span_size only to simplify the calcuation.
    
    Now that the zone_size_block and span_size are both configurable, so
    it is necessary to treat them respectively.
    
    Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
    xiexingguo committed Jul 10, 2016
    Copy the full SHA
    b7d09ed View commit details
    Browse the repository at this point in the history
  2. os/bluestore: simplify is_exhausted() method

    Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
    xiexingguo committed Jul 10, 2016
    Copy the full SHA
    0c86d5e View commit details
    Browse the repository at this point in the history
  3. os/bluestore: add sanity check for get_free() method

    Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
    xiexingguo committed Jul 10, 2016
    Copy the full SHA
    6147ea0 View commit details
    Browse the repository at this point in the history
  4. os/bluestore: fix allocation of discontiguous blocks

    Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
    xiexingguo committed Jul 10, 2016
    Copy the full SHA
    39458dd View commit details
    Browse the repository at this point in the history
  5. os/bluestore: add support for allocating 0-sized extent

    For testing, we may choose randomized length of extent to allocate,
    which means we could trim down the length to 0.
    
    Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
    xiexingguo committed Jul 10, 2016
    Copy the full SHA
    af82dbc View commit details
    Browse the repository at this point in the history