]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/osd_types: make BACKFILL <-> "backfilling" for parser
authorSage Weil <sage@redhat.com>
Thu, 21 Sep 2017 14:28:59 +0000 (10:28 -0400)
committerSage Weil <sage@redhat.com>
Thu, 28 Sep 2017 19:14:54 +0000 (15:14 -0400)
We render BACKFILL as "backfilling"; make sure parse works that
way too.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 6fa40e44dc579a009edff7be95d3fd37defbc7f6)

src/osd/osd_types.cc

index 0d3a310bd917eafa82607640fb3aa92b33fba8a1..22939c857a9bf7a53db2cb7d86d81ad6c568a6a6 100644 (file)
@@ -886,7 +886,7 @@ int pg_string_state(const std::string& state)
     type = PG_STATE_REMAPPED;
   else if (state == "deep_scrub")
     type = PG_STATE_DEEP_SCRUB;
-  else if (state == "backfill")
+  else if (state == "backfilling")
     type = PG_STATE_BACKFILL;
   else if (state == "forced_backfill")
     type = PG_STATE_FORCED_BACKFILL;