]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/LFNIndex: pass through sort_bitwise
authorSage Weil <sage@redhat.com>
Mon, 13 Jul 2015 14:56:28 +0000 (10:56 -0400)
committerSage Weil <sage@redhat.com>
Fri, 7 Aug 2015 14:16:01 +0000 (10:16 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
src/os/LFNIndex.cc
src/os/LFNIndex.h
src/test/os/TestLFNIndex.cc

index 86d140d519503cce41dadad948eb13d31e051091..48d8db37e838f4ad730cbf9e485ed2b814dc3452 100644 (file)
@@ -151,11 +151,12 @@ int LFNIndex::pre_hash_collection(uint32_t pg_num, uint64_t expected_num_objs)
 
 int LFNIndex::collection_list_partial(const ghobject_t &start,
                                      const ghobject_t &end,
+                                     bool sort_bitwise,
                                      int max_count,
                                      vector<ghobject_t> *ls,
                                      ghobject_t *next)
 {
-  return _collection_list_partial(start, end, max_count, ls, next);
+  return _collection_list_partial(start, end, sort_bitwise, max_count, ls, next);
 }
 
 /* Derived class utility methods */
index 284e4c2ad0d16bdac7d0d50068ea6fc728744bbf..41f6c932c033f87882f2ff4b9b445be05fefce86 100644 (file)
@@ -188,6 +188,7 @@ public:
   int collection_list_partial(
     const ghobject_t &start,
     const ghobject_t &end,
+    bool sort_bitwise,
     int max_count,
     vector<ghobject_t> *ls,
     ghobject_t *next
@@ -248,6 +249,7 @@ protected:
   virtual int _collection_list_partial(
     const ghobject_t &start,
     const ghobject_t &end,
+    bool sort_bitwise,
     int max_count,
     vector<ghobject_t> *ls,
     ghobject_t *next
index 60ea6130685e83fa13e9781c49dab1bc6015817d..37733af57c90072f8a366ac6ad3cce2c91a49529 100644 (file)
@@ -78,6 +78,7 @@ protected:
   virtual int _collection_list_partial(
                                       const ghobject_t &start,
                                       const ghobject_t &end,
+                                      bool sort_bitwise,
                                       int max_count,
                                       vector<ghobject_t> *ls,
                                       ghobject_t *next