summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/globals.h')
-rw-r--r--libglusterfs/src/globals.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libglusterfs/src/globals.h b/libglusterfs/src/globals.h
index 89c8d784832..58f37d185bd 100644
--- a/libglusterfs/src/globals.h
+++ b/libglusterfs/src/globals.h
@@ -20,6 +20,12 @@
#ifndef _GLOBALS_H
#define _GLOBALS_H
+/* This corresponds to the max 16 number of group IDs that are sent through an
+ * RPC request. Since NFS is the only one going to set this, we can be safe
+ * in keeping this size hardcoded.
+ */
+#define GF_REQUEST_MAXGROUPS 16
+
#include "glusterfs.h"
#include "xlator.h"