gfs2-utils: master - libgfs2: Add new RGSIZE macros
Carlos Eduardo Maiolino
cmaiolino at fedoraproject.org
Thu Jul 7 14:44:08 UTC 2011
Gitweb: http://git.fedorahosted.org/git/gfs2-utils.git?p=gfs2-utils.git;a=commitdiff;h=294ae98e0c60e8d559579e6a507d87d8aa2bacc1
Commit: 294ae98e0c60e8d559579e6a507d87d8aa2bacc1
Parent: a2f794af4b74178fe1a88aea7491bee2cb083df3
Author: Carlos Maiolino <cmaiolino at redhat.com>
AuthorDate: Thu Jul 7 11:37:09 2011 -0300
Committer: Carlos Maiolino <cmaiolino at redhat.com>
CommitterDate: Thu Jul 7 11:37:09 2011 -0300
libgfs2: Add new RGSIZE macros
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)
More information about the cluster-commits
mailing list