From: Haomai Wang Date: Fri, 14 Oct 2016 14:17:22 +0000 (+0800) Subject: bluestore: set next object as ghobject_t::get_max() when start.hobj.is_max() X-Git-Tag: v11.1.0~640^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F11495%2Fhead;p=ceph.git bluestore: set next object as ghobject_t::get_max() when start.hobj.is_max() Signed-off-by: Haomai Wang Signed-off-by: Xinze Chi --- diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index 0d3d48013097..265df0f1e85b 100644 --- a/src/os/bluestore/BlueStore.cc +++ b/src/os/bluestore/BlueStore.cc @@ -5441,6 +5441,7 @@ int BlueStore::collection_list( if (start == ghobject_t::get_max() || start.hobj.is_max()) { + *pnext = ghobject_t::get_max(); goto out; } get_coll_key_range(c->cid, c->cnode.bits, &temp_start_key, &temp_end_key,