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: fix when block device is not a multiple of the block size #10844

Merged
4 commits merged into from Aug 26, 2016

Commits on Aug 23, 2016

  1. os/bluestore: fix whitespace in bitset apply helper

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Aug 23, 2016
    Copy the full SHA
    badb07e View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2016

  1. os/bluestore: fsck on mkfs (on by default)

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Aug 24, 2016
    Copy the full SHA
    108ee77 View commit details
    Browse the repository at this point in the history
  2. os/bluestore: ensure block device size is a multiple of the block size

    We might have a backing device that is an odd number of 512-byte sectors
    but have the block_size configured to 4096.  Ensure the reported size
    rounds down to avoid confusing other layers of the stack.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Aug 24, 2016
    Copy the full SHA
    7290f34 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2016

  1. unittest_bluefs: fix block device sizes

    These should be a multiple of the block size (since we are feeding
    the size directly into add_block_extent).
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Aug 26, 2016
    Copy the full SHA
    c5597e3 View commit details
    Browse the repository at this point in the history