diff options
author | Sage Weil <sage@inktank.com> | 2013-10-10 11:51:16 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-10-10 11:51:38 -0700 |
commit | 562d7816ef3bab4bdd4a823184c8f5477b94b4d7 (patch) | |
tree | bef55f3d8625898acba3fa26308dc5b3b0dc6d29 /src/osdc/Objecter.h | |
parent | 67f80754bda81017c8d5828c88a81a55945bbe5b (diff) | |
download | ceph-wip-rados-list.tar.gz |
librados: seek during object iterationwip-rados-list
Add ability to reset iterator to a specific hash position. For now, we
just truncate this to the current PG. In the future, this may be more
precise.
Signed-off-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'src/osdc/Objecter.h')
-rw-r--r-- | src/osdc/Objecter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osdc/Objecter.h b/src/osdc/Objecter.h index 4e6fa77e69b..20c12d8e48d 100644 --- a/src/osdc/Objecter.h +++ b/src/osdc/Objecter.h @@ -1812,6 +1812,7 @@ private: } void list_objects(ListContext *p, Context *onfinish); + uint32_t list_objects_seek(ListContext *p, uint32_t pos); // ------------------------- // pool ops |