]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
ceph_manager: default to 16 initial pgs per pool
authorSamuel Just <sam.just@inktank.com>
Mon, 17 Mar 2014 21:04:41 +0000 (14:04 -0700)
committerSamuel Just <sam.just@inktank.com>
Mon, 17 Mar 2014 23:11:39 +0000 (16:11 -0700)
1 is really too few for anything to happen at a
reasonable rate.

Signed-off-by: Samuel Just <sam.just@inktank.com>
teuthology/task/ceph_manager.py

index aa7ba163df5a6f0e446cc351b274019bec1fb203..a1af6e1a0f3e820ee59db5edb1f72787632007cc 100644 (file)
@@ -681,7 +681,7 @@ class CephManager:
         self.log(status)
         return status['pgmap']['num_pgs']
 
-    def create_pool_with_unique_name(self, pg_num=1, ec_pool=False):
+    def create_pool_with_unique_name(self, pg_num=16, ec_pool=False):
         """
         Create a pool named unique_pool_X where X is unique.
         """
@@ -692,7 +692,7 @@ class CephManager:
             self.create_pool(name, pg_num, ec_pool=ec_pool)
         return name
 
-    def create_pool(self, pool_name, pg_num=1, ec_pool=False):
+    def create_pool(self, pool_name, pg_num=16, ec_pool=False):
         """
         Create a pool named from the pool_name parameter.
         :param pool_name: name of the pool being created.