]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: d'oh again! Make this real exponential, not...ever-linear.
authorGreg Farnum <gregory.farnum@dreamhost.com>
Thu, 2 Feb 2012 00:28:35 +0000 (16:28 -0800)
committerGreg Farnum <gregory.farnum@dreamhost.com>
Thu, 2 Feb 2012 01:17:30 +0000 (17:17 -0800)
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
src/osd/OSD.cc

index 6f44f25914b1277022c082ef79b6edeb599702da..e6ba95a3adcc4db2522dfb7e7f4e7a6dea19b5a2 100644 (file)
@@ -1854,7 +1854,7 @@ void OSD::check_ops_in_flight()
         ss << "old request " << *((*i)->request) << " received at "
            << (*i)->received_time << " currently " << (*i)->state_string();
         clog.warn(ss);
-        ++(*i)->warn_interval_multiplier;
+        (*i)->warn_interval_multiplier *= 2;
       }
       ++i;
     }