Gitweb:
http://git.fedorahosted.org/git/?p=cluster.git;a=commitdiff;h=b9e9dc90545...
Commit: b9e9dc905459e10caa4563a43d6c584599e06b50
Parent: 9cfdf3caa14da886360ee43162a7d9ea8386fba2
Author: Christine Caulfield <ccaulfie(a)redhat.com>
AuthorDate: Fri Nov 20 16:03:46 2015 +0000
Committer: Christine Caulfield <ccaulfie(a)redhat.com>
CommitterDate: Fri Nov 20 16:03:46 2015 +0000
gfs_tool: Show more than 128 mounted filesystems
Also do the same for DLM too. The maximum is now 1024
filesystems/lockspaces.
rhbz#1243944#1243944#1243944
Signed-off-by: Christine Caulfield <ccaulfie(a)redhat.com>
---
dlm/tool/main.c | 2 +-
group/gfs_control/main.c | 2 +-
group/tool/main.c | 6 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dlm/tool/main.c b/dlm/tool/main.c
index 4752008..2494549 100644
--- a/dlm/tool/main.c
+++ b/dlm/tool/main.c
@@ -44,7 +44,7 @@ static int verbose;
static int wide;
static int summarize;
-#define MAX_LS 128
+#define MAX_LS 1024
#define MAX_NODES 128
/* from linux/fs/dlm/dlm_internal.h */
diff --git a/group/gfs_control/main.c b/group/gfs_control/main.c
index 12fee97..55446b7 100644
--- a/group/gfs_control/main.c
+++ b/group/gfs_control/main.c
@@ -28,7 +28,7 @@ static int operation;
static int opt_ind;
static int ls_all_nodes;
-#define MAX_MG 128
+#define MAX_MG 1024
#define MAX_NODES 128
struct gfsc_mountgroup mgs[MAX_MG];
diff --git a/group/tool/main.c b/group/tool/main.c
index 33ea9a1..23e2819 100644
--- a/group/tool/main.c
+++ b/group/tool/main.c
@@ -24,9 +24,9 @@
#define GROUP_LIBCPG 3
#define MAX_NODES 128
-#define MAX_LS 128
-#define MAX_MG 128
-#define MAX_GROUPS 128
+#define MAX_LS 1024
+#define MAX_MG 1024
+#define MAX_GROUPS 1024
#define OP_LIST 1
#define OP_DUMP 2