Skip to content

Commit

Permalink
Merge pull request #11495 from yuyuyu101/wip-fix-list
Browse files Browse the repository at this point in the history
bluestore: set next object as ghobject_t::get_max() when start.hobj.i…

Reviewed-by: Sage Weil <sage@redhat.com>
  • Loading branch information
liewegas committed Oct 14, 2016
2 parents f32bb09 + ddb378d commit c9ab0cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/os/bluestore/BlueStore.cc
Expand Up @@ -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,
Expand Down

0 comments on commit c9ab0cb

Please sign in to comment.