cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Carlos Maiolino <cmaiolino@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH 1/2] libgfs2: Added new RGSIZE macros
Date: Thu,  7 Jul 2011 11:21:59 -0300	[thread overview]
Message-ID: <1310048520-32668-1-git-send-email-cmaiolino@redhat.com> (raw)

This patch add new macros related to
default rgsizes which makes the purpose
of the values easier to understand
---
 gfs2/libgfs2/libgfs2.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/gfs2/libgfs2/libgfs2.h b/gfs2/libgfs2/libgfs2.h
index be5bdfa..73431fa 100644
--- a/gfs2/libgfs2/libgfs2.h
+++ b/gfs2/libgfs2/libgfs2.h
@@ -258,6 +258,11 @@ struct metapath {
 #define GFS2_MIN_GROW_SIZE          (10)
 #define GFS2_EXCESSIVE_RGS          (10000)
 
+#define GFS2_EXP_MIN_RGSIZE         (1)
+#define GFS2_MIN_RGSIZE             (32)
+/* Look at this!  Why can't we go bigger than 2GB? */
+#define GFS2_MAX_RGSIZE             (2048)
+
 #define DATA (1)
 #define META (2)
 #define DINODE (3)
-- 
1.7.5.2



             reply	other threads:[~2011-07-07 14:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-07 14:21 Carlos Maiolino [this message]
2011-07-07 14:22 ` [Cluster-devel] [PATCH 2/2] mkfs: Change hardcoded numbers by new macro definitions Carlos Maiolino
2011-07-07 14:26 ` [Cluster-devel] [PATCH 1/2] libgfs2: Added new RGSIZE macros Steven Whitehouse
  -- strict thread matches above, loose matches on Subject: below --
2011-07-07 13:49 Carlos Maiolino
2011-07-07 13:57 ` Steven Whitehouse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1310048520-32668-1-git-send-email-cmaiolino@redhat.com \
    --to=cmaiolino@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).