]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
osd: request a fullness state change during tick if needed
authorSage Weil <sage@redhat.com>
Thu, 23 Feb 2017 20:57:25 +0000 (15:57 -0500)
committerSage Weil <sage@redhat.com>
Mon, 6 Mar 2017 22:21:22 +0000 (17:21 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSD.cc

index d76ff23f7e7a48d2a6997aa3df106d3b143bf3c9..3431cf9a9968a9c0b0f3389c68b18b38f3d8fda8 100644 (file)
@@ -4546,6 +4546,8 @@ void OSD::tick_without_osd_lock()
     if (now - last_pg_stats_sent > max) {
       osd_stat_updated = true;
       report = true;
+    } else if (service.need_fullness_update()) {
+      report = true;
     } else if ((int)outstanding_pg_stats.size() >=
               cct->_conf->osd_mon_report_max_in_flight) {
       dout(20) << __func__ << " have max " << outstanding_pg_stats