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

tools: add cephfs-table-tool 'take_inos' #6655

Merged
merged 1 commit into from Dec 7, 2015

Commits on Nov 25, 2015

  1. tools: add cephfs-table-tool 'take_inos'

    For when your InoTable is wrong, and you want to
    bluntly mark all the inos up to the highest you've
    seen as in use.  You'll waste some inos by marking
    in use when they're really not, but you'll guarantee
    that the system won't try and re-use an ino that's
    really already used by a file.
    
    Since this breaks the mould of the apply_rank_fn
    prototype, and I'm using lambdas here now, also go
    ahead and convert the other actions to be lambdas
    instead of having lots of _reset_foo_table boilerplate
    at class scope.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Nov 25, 2015
    Copy the full SHA
    7a8fd0e View commit details
    Browse the repository at this point in the history