Merge pull request #11495 from yuyuyu101/wip-fix-list

bluestore: set next object as ghobject_t::get_max() when start.hobj.i…

Reviewed-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2016-10-14 09:27:31 -05:00 committed by GitHub
commit c9ab0cb407

View 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,