]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "mds: fix infinite loop in OpTracker::check_ops_in_flight"
authorYan, Zheng <zyan@redhat.com>
Wed, 23 Jan 2019 09:29:27 +0000 (17:29 +0800)
committerYan, Zheng <zyan@redhat.com>
Wed, 23 Jan 2019 09:30:49 +0000 (17:30 +0800)
This reverts commit adad2d873a37770e4910b04dfddf92f70964be4a.
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/common/TrackedOp.cc

index d3c3c4699662b472e16047cf753d940e57d92ab8..4ed2fa48bd6f3f515835770045678a2bbcc5b25f 100644 (file)
@@ -342,10 +342,8 @@ bool OpTracker::check_ops_in_flight(std::vector<string> &warning_vector, int *sl
     while (i != sdata->ops_in_flight_sharded.end() &&
           i->get_initiated() < too_old) {
 
-      if (!i->warn_interval_multiplier) {
+      if (!i->warn_interval_multiplier)
        continue;
-       ++i;
-      }
 
       (*slow)++;