]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-objecstore-tool: use new api
authorSage Weil <sage@redhat.com>
Mon, 13 Jul 2015 20:37:08 +0000 (16:37 -0400)
committerSage Weil <sage@redhat.com>
Fri, 7 Aug 2015 14:16:00 +0000 (10:16 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
src/tools/ceph_objectstore_tool.cc

index 29f16bb4028332d8550618f7da910f4f22bc18f7..1a767fb0a62790dc91203fc1bfce59fc911a0700 100644 (file)
@@ -83,6 +83,7 @@ int _action_on_all_objects_in_pg(ObjectStore *store, coll_t coll, action_on_obje
                                   coll,
                                   next,
                                   ghobject_t::get_max(),
+                                  true,
                                   LIST_AT_A_TIME,
                                   &list,
                                   &next);
@@ -411,7 +412,7 @@ void remove_coll(ObjectStore *store, const coll_t &coll)
   cout << "remove_coll " << coll << std::endl;
   while (!next.is_max()) {
     vector<ghobject_t> objects;
-    r = store->collection_list(coll, next, ghobject_t::get_max(), 300,
+    r = store->collection_list(coll, next, ghobject_t::get_max(), true, 300,
       &objects, &next);
     if (r < 0)
       goto out;
@@ -699,7 +700,7 @@ int ObjectStoreTool::export_files(ObjectStore *store, coll_t coll)
 
   while (!next.is_max()) {
     vector<ghobject_t> objects;
-    int r = store->collection_list(coll, next, ghobject_t::get_max(), 300,
+    int r = store->collection_list(coll, next, ghobject_t::get_max(), true, 300,
       &objects, &next);
     if (r < 0)
       return r;