From: Sage Weil Date: Mon, 13 Jul 2015 14:50:39 +0000 (-0400) Subject: os: add sort type to ObjectStore interface (incomplete) X-Git-Tag: v9.1.0~346^2~65 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8aaa437f648fc56e44601c5862c80f96dab5069f;p=ceph.git 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 --- diff --git a/src/os/ObjectStore.h b/src/os/ObjectStore.h index 67cea348846..5ae7949b097 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