From: Yehuda Sadeh Date: Wed, 11 Jun 2014 23:50:41 +0000 (-0700) Subject: rgw: set a default data extra pool name X-Git-Tag: v0.83~99^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1955%2Fhead;p=ceph.git rgw: set a default data extra pool name Fixes: #8585 Have a default name for the data extra pool, otherwise it would be empty which means that it'd default to the data pool name (which is a problem with ec backends). Signed-off-by: Yehuda Sadeh --- diff --git a/src/rgw/rgw_rados.cc b/src/rgw/rgw_rados.cc index b1025e2fd5cc..6be6996be513 100644 --- a/src/rgw/rgw_rados.cc +++ b/src/rgw/rgw_rados.cc @@ -54,6 +54,7 @@ static string *notify_oids = NULL; static string shadow_ns = "shadow"; static string dir_oid_prefix = ".dir."; static string default_storage_pool = ".rgw.buckets"; +static string default_storage_extra_pool = ".rgw.buckets.extra"; static string avail_pools = ".pools.avail"; static string zone_info_oid_prefix = "zone_info."; @@ -308,6 +309,7 @@ void RGWZoneParams::init_default(RGWRados *store) RGWZonePlacementInfo default_placement; default_placement.index_pool = ".rgw.buckets.index"; default_placement.data_pool = ".rgw.buckets"; + default_placement.data_extra_pool = ".rgw.buckets.extra"; placement_pools["default-placement"] = default_placement; } }