mirror of
https://github.com/ceph/ceph
synced 2025-01-01 08:32:24 +00:00
mds: add debug output to make completions easier to track
Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
ba1f3cb980
commit
91a7559061
@ -1623,7 +1623,14 @@ do { \
|
||||
dout(7) << "mds has " << finished_queue.size() << " queued contexts" << dendl;
|
||||
dout(10) << finished_queue << dendl;
|
||||
finishing = true;
|
||||
finish_contexts(finished_queue);
|
||||
list<Context*> ls;
|
||||
ls.swap(finished_queue);
|
||||
while (!ls.empty()) {
|
||||
dout(10) << " finish " << ls.front() << dendl;
|
||||
ls.front()->finish(0);
|
||||
delete ls.front();
|
||||
ls.pop_front();
|
||||
}
|
||||
finishing = false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user