]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
bluestore: set next object as ghobject_t::get_max() when start.hobj.is_max() 11495/head
authorHaomai Wang <haomai@xsky.com>
Fri, 14 Oct 2016 14:17:22 +0000 (22:17 +0800)
committerHaomai Wang <haomai@xsky.com>
Fri, 14 Oct 2016 14:17:22 +0000 (22:17 +0800)
Signed-off-by: Haomai Wang <haomai@xsky.com>
Signed-off-by: Xinze Chi <xinze@xsky.com>
src/os/bluestore/BlueStore.cc

index 0d3d48013097ede0fb644ab718ff92b17ab16e49..265df0f1e85bb18e78bb92e6da36814b67c4444f 100644 (file)
@@ -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,