mirror of
https://github.com/ceph/ceph
synced 2025-02-15 14:58:01 +00:00
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:
commit
11733614b8
@ -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++);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user