Merge pull request #12352 from kylinstorage/wip-cleanup-mark-queued

osd: mark queued flag for op

Reviewed-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Kefu Chai 2016-12-13 22:44:22 +08:00 committed by GitHub
commit 11733614b8

View File

@ -1898,6 +1898,7 @@ void PG::take_op_map_waiters()
if (op_must_wait_for_map(get_osdmap_with_maplock()->get_epoch(), *i)) {
break;
} else {
(*i)->mark_queued_for_pg();
osd->op_wq.queue(make_pair(PGRef(this), *i));
waiting_for_map.erase(i++);
}