From c087d414cab5aa7f197323610118984b0bc5c0d9 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 13 Jul 2015 10:56:28 -0400 Subject: [PATCH] os/LFNIndex: pass through sort_bitwise Signed-off-by: Sage Weil --- src/os/LFNIndex.cc | 3 ++- src/os/LFNIndex.h | 2 ++ src/test/os/TestLFNIndex.cc | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/os/LFNIndex.cc b/src/os/LFNIndex.cc index 86d140d519503..48d8db37e838f 100644 --- a/src/os/LFNIndex.cc +++ b/src/os/LFNIndex.cc @@ -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 *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 */ diff --git a/src/os/LFNIndex.h b/src/os/LFNIndex.h index 284e4c2ad0d16..41f6c932c033f 100644 --- a/src/os/LFNIndex.h +++ b/src/os/LFNIndex.h @@ -188,6 +188,7 @@ public: int collection_list_partial( const ghobject_t &start, const ghobject_t &end, + bool sort_bitwise, int max_count, vector *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 *ls, ghobject_t *next diff --git a/src/test/os/TestLFNIndex.cc b/src/test/os/TestLFNIndex.cc index 60ea6130685e8..37733af57c900 100644 --- a/src/test/os/TestLFNIndex.cc +++ b/src/test/os/TestLFNIndex.cc @@ -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 *ls, ghobject_t *next -- 2.39.5