]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: do not enable HASHPSPOOL pool feature by default
authorSage Weil <sage@inktank.com>
Tue, 16 Jul 2013 20:41:08 +0000 (13:41 -0700)
committerSage Weil <sage@inktank.com>
Tue, 16 Jul 2013 20:41:08 +0000 (13:41 -0700)
This was added in kernel 3.9 and should not yet be enabled by default.

Signed-off-by: Sage Weil <sage@inktank.com>
src/common/config_opts.h

index 485a683692b47e4b843d16877d5aff30830d13cc..94e737387c41290ed3997cf2cb0af6a249c2c83d 100644 (file)
@@ -386,8 +386,7 @@ OPTION(osd_pool_default_min_size, OPT_INT, 0)  // 0 means no specific default; c
 OPTION(osd_pool_default_pg_num, OPT_INT, 8) // number of PGs for new pools. Configure in global or mon section of ceph.conf
 OPTION(osd_pool_default_pgp_num, OPT_INT, 8) // number of PGs for placement purposes. Should be equal to pg_num
 OPTION(osd_pool_default_flags, OPT_INT, 0)   // default flags for new pools
-// default flags for new pools
-OPTION(osd_pool_default_flag_hashpspool, OPT_BOOL, true)
+OPTION(osd_pool_default_flag_hashpspool, OPT_BOOL, false)   // use new pg hashing to prevent pool/pg overlap
 OPTION(osd_map_dedup, OPT_BOOL, true)
 OPTION(osd_map_cache_size, OPT_INT, 500)
 OPTION(osd_map_message_max, OPT_INT, 100)  // max maps per MOSDMap message