]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
objectstore_tool: refactor list-lost and fix-lost
authorLoic Dachary <ldachary@redhat.com>
Wed, 26 Nov 2014 16:30:30 +0000 (17:30 +0100)
committerDavid Zafman <dzafman@redhat.com>
Tue, 3 Mar 2015 19:20:58 +0000 (11:20 -0800)
commiteb48aba2119959c53ea8a103b53f0c2e07c52acb
tree609de6f012ce6a12c42b3ea49cb1d96e35556d40
parenteab3226edc8ecc6d2d93f463e019ef4eacb9f468
objectstore_tool: refactor list-lost and fix-lost

Abstract out the PG exploration loops and encapsulate the list-lost and
fix-lost semantic in a callable object.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
(cherry picked from commit d9e747b1bdb53d1fe543ef311e3db35fb78d8051)
src/tools/ceph_objectstore_tool.cc