From patchwork Sat Feb 9 19:55:48 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wido den Hollander X-Patchwork-Id: 2120951 Return-Path: X-Original-To: patchwork-ceph-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 8600C3FCA4 for ; Sat, 9 Feb 2013 20:02:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932496Ab3BIUCE (ORCPT ); Sat, 9 Feb 2013 15:02:04 -0500 Received: from hosted.by.pcextreme ([79.99.132.139]:34014 "EHLO wido-desktop.widodh.nl" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S932485Ab3BIUCD (ORCPT ); Sat, 9 Feb 2013 15:02:03 -0500 X-Greylist: delayed 371 seconds by postgrey-1.27 at vger.kernel.org; Sat, 09 Feb 2013 15:02:03 EST Received: by wido-desktop.widodh.nl (Postfix, from userid 1000) id DA523A4C2C; Sat, 9 Feb 2013 20:55:49 +0100 (CET) From: Wido den Hollander To: ceph-devel@vger.kernel.org Cc: Wido den Hollander , Wido den Hollander Subject: [PATCH] config: Add small note about default number of PGs Date: Sat, 9 Feb 2013 20:55:48 +0100 Message-Id: <1360439748-4363-1-git-send-email-wido@42on.com> X-Mailer: git-send-email 1.7.9.5 Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org From: Wido den Hollander It's still not clear to end users this should go into the mon or global section of ceph.conf Until this gets resolved document it here as well for the people who look up their settings in the source code. Signed-off-by: Wido den Hollander --- src/common/config_opts.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/config_opts.h b/src/common/config_opts.h index ce3bca2..0fc07a3 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -317,8 +317,8 @@ OPTION(osd_max_rep, OPT_INT, 10) OPTION(osd_pool_default_crush_rule, OPT_INT, 0) OPTION(osd_pool_default_size, OPT_INT, 2) OPTION(osd_pool_default_min_size, OPT_INT, 0) // 0 means no specific default; ceph will use size-size/2 -OPTION(osd_pool_default_pg_num, OPT_INT, 8) -OPTION(osd_pool_default_pgp_num, OPT_INT, 8) +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_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