]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdc/Objecter: refactor list_nobjects to use hobject_t as position
authorSage Weil <sage@redhat.com>
Thu, 26 Jan 2017 21:48:51 +0000 (16:48 -0500)
committerSage Weil <sage@redhat.com>
Thu, 9 Feb 2017 02:50:27 +0000 (21:50 -0500)
commit6fb487d1a022b65c40bec9342a6d18cf4bbc8d2b
tree68047cd210ce2673c8b32fec11cd7192f63363c3
parentd0792bc00f6e545a6f8e4d9cf222909712466ff4
osdc/Objecter: refactor list_nobjects to use hobject_t as position

Stop using current_pg as a position pointer; use the hobject_t
cursor explicitly.

We keep current_pg *only* for compatibility with !sortbitwise
clusters, and we only use it when we get back MAX from a
!sortbitwise OSD and need to determine where the start of the next
PG is.  In !sortbitwise mode we also have the legacy kludges to
behave on PG split.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osdc/Objecter.cc
src/osdc/Objecter.h