From d63982a55ee4b7f3bde57cf2419d4c90b638942b 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 (cherry picked from commit d38f6a11701ec788e4d384aa5b0ae65b8e57da64) Conflicts: src/osd/osd_types.cc : Resolved in pg_string_state --- 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 c0f5b59483e3..dbae1bd9266d 100644 --- a/src/osd/osd_types.cc +++ b/src/osd/osd_types.cc @@ -925,6 +925,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 type = boost::none; return type; -- 2.47.3