]> git-server-git.apps.pok.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, 21 Sep 2017 18:21:41 +0000 (14:21 -0400)
We render BACKFILL as "backfilling"; make sure parse works that
way too.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/osd_types.cc

index 2b89e5dc26137f9c83a2291e0c0f5e137a769acf..c4d69169820c393d311e94f80d46ce6850e99cda 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;