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: compensate for bad freelistmanager size/blocks metadata #17268

Merged
merged 1 commit into from Aug 27, 2017

Commits on Aug 25, 2017

  1. os/bluestore: compensate for bad freelistmanager size/blocks metadata

    This repairs bluestores created before http://tracker.ceph.com/issues/21089
    was fixed in f6f1ae3.
    
    In both cases, the freelistmanager's size is off by one block (4k).  In
    one case, it is just a matter of fixing the size and twiddling the trailing
    bit.  In the second case, the size delta causes freelistmanager to need
    a new row, which means the blocks count also changes, and we have lots
    of bits to zero (all but one in the new row).
    
    Both are silently corrected by fsck in this patch.
    
    Fixes: http://tracker.ceph.com/issues/21089
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Aug 25, 2017
    Copy the full SHA
    c029a96 View commit details
    Browse the repository at this point in the history