Skip to content

Commit

Permalink
Merge pull request #24602 from pdvian/wip-36297-luminous
Browse files Browse the repository at this point in the history
luminous: osd: add creating to pg_string_state

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Neha Ojha <nojha@redhat.com>
  • Loading branch information
yuriw committed Oct 25, 2018
2 parents 61fccd3 + b6528d2 commit e85db1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/osd/osd_types.cc
Expand Up @@ -916,6 +916,8 @@ boost::optional<uint64_t> 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;
Expand Down

0 comments on commit e85db1a

Please sign in to comment.