Commit
bc3325b37 fixes a stack overflow bug happens when replaying
client requests. Similar stack overflow can happens when processing
finished contexts.
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
}
}
+ if (dispatch_depth > 1)
+ return true;
+
// finish any triggered contexts
while (!finished_queue.empty()) {
dout(7) << "mds has " << finished_queue.size() << " queued contexts" << dendl;
}
}
- if (dispatch_depth > 1)
- return true;
-
while (!waiting_for_nolaggy.empty()) {
// stop if we're laggy now!