From ddb378de22e1aeda9126db457b90c589852d5871 Mon Sep 17 00:00:00 2001 From: Haomai Wang Date: Fri, 14 Oct 2016 22:17:22 +0800 Subject: [PATCH] bluestore: set next object as ghobject_t::get_max() when start.hobj.is_max() Signed-off-by: Haomai Wang Signed-off-by: Xinze Chi --- src/os/bluestore/BlueStore.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index 0d3d48013097e..265df0f1e85bb 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, -- 2.39.5