mirror of
https://github.com/ceph/ceph
synced 2025-01-01 08:32:24 +00:00
Merge pull request #9718 from songbaisen/a8
mon: clear list in better way Reviewed-by: Sage Weil <sage@redhat.com> Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
4075f98da1
@ -460,9 +460,7 @@ void OSDMonitor::on_shutdown()
|
||||
// discard failure info, waiters
|
||||
list<MonOpRequestRef> ls;
|
||||
take_all_failures(ls);
|
||||
while (!ls.empty()) {
|
||||
ls.pop_front();
|
||||
}
|
||||
ls.clear();
|
||||
}
|
||||
|
||||
void OSDMonitor::update_logger()
|
||||
|
Loading…
Reference in New Issue
Block a user