From d38f6a11701ec788e4d384aa5b0ae65b8e57da64 Mon Sep 17 00:00:00 2001 From: Dan van der Ster Date: Tue, 25 Sep 2018 10:39:37 +0200 Subject: [PATCH] osd: add creating to pg_string_state Fixes: http://tracker.ceph.com/issues/36174 Signed-off-by: Dan van der Ster --- src/osd/osd_types.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/osd/osd_types.cc b/src/osd/osd_types.cc index 49e4e2b19e6..443bb21e055 100644 --- a/src/osd/osd_types.cc +++ b/src/osd/osd_types.cc @@ -968,6 +968,8 @@ boost::optional pg_string_state(const std::string& state) type = PG_STATE_SNAPTRIM_WAIT; else if (state == "snaptrim_error") type = PG_STATE_SNAPTRIM_ERROR; + else if (state == "creating") + type = PG_STATE_CREATING; else if (state == "unknown") type = 0; else -- 2.47.3