]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdc/Objecter: infer ptruncated on old OSDs via max_entries
authorSage Weil <sage@redhat.com>
Fri, 20 Jan 2017 03:09:35 +0000 (21:09 -0600)
committerSage Weil <sage@redhat.com>
Fri, 20 Jan 2017 22:52:17 +0000 (17:52 -0500)
commitcfa6f7932ed8bd3f7c861991b40cffa12eb20fb4
tree9e41eef6a61bb07dbc260c9b4ef97861b84eec87
parentb6aef08cc917c81c05217e6edee18256bc5464a5
osdc/Objecter: infer ptruncated on old OSDs via max_entries

If we do not get an explicit 'more' value from the OSD, infer it by
checking whether we got the max requested entries.  On old OSDs, which
don't enforce a limit, this will work.  On new OSDs, we will get the
explicit result.

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