summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/globals.h
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-05-04 00:35:59 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-05-03 23:40:01 -0700
commit7504b0e623914d097933f0a613ba50e376131828 (patch)
tree70b29c4ec433a36a9e1a674a191ef1388ff34107 /libglusterfs/src/globals.h
parent72ca9bdf90c45ff3f4bad3d2de934101dfaca4ff (diff)
structuring of protocol
* isolated 'protocol.h' and transport.h from libglusterfs/* and glusterfsd/* Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 875 (Implement a new protocol to provide proper backward/forward compatibility) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=875
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"