From 8aaa437f648fc56e44601c5862c80f96dab5069f Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 13 Jul 2015 10:50:39 -0400 Subject: [PATCH] os: add sort type to ObjectStore interface (incomplete) Note that this doesn't build, but it will be easier to review this way. Signed-off-by: Sage Weil --- src/os/ObjectStore.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/os/ObjectStore.h b/src/os/ObjectStore.h index 67cea34884631..5ae7949b09707 100644 --- a/src/os/ObjectStore.h +++ b/src/os/ObjectStore.h @@ -2027,13 +2027,15 @@ public: * @param c collection * @param start list object that sort >= this value * @param end list objects that sort < this value + * @param sort_bitwise sort bitwise (instead of legacy nibblewise) * @param max return no more than this many results * @param seq return no objects with snap < seq * @param ls [out] result * @param next [out] next item sorts >= this value * @return zero on success, or negative error */ - virtual int collection_list(coll_t c, ghobject_t start, ghobject_t end, int max, + virtual int collection_list(coll_t c, ghobject_t start, ghobject_t end, + bool sort_bitwise, int max, vector *ls, ghobject_t *next) = 0; /// OMAP -- 2.39.5