From 7504b0e623914d097933f0a613ba50e376131828 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Tue, 4 May 2010 00:35:59 +0000 Subject: structuring of protocol * isolated 'protocol.h' and transport.h from libglusterfs/* and glusterfsd/* Signed-off-by: Amar Tumballi Signed-off-by: Anand V. Avati 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 --- libglusterfs/src/globals.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libglusterfs/src/globals.h') diff --git a/libglusterfs/src/globals.h b/libglusterfs/src/globals.h index 89c8d7848..58f37d185 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" -- cgit