From 66224718ab57238e16b30d8b461c380d64df237c Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Thu, 25 Jun 2009 16:11:44 +0000 Subject: version check between client/server made more specific to protocol only. This patch is a step towards giving compatibility between the versions of GlusterFS. Now onwards, the protocol-version won't depend on release versions. In general, multiple glusterfs versions can have common protocol-version. Signed-off-by: Anand V. Avati --- libglusterfs/src/protocol.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libglusterfs') diff --git a/libglusterfs/src/protocol.h b/libglusterfs/src/protocol.h index b17f83bcd8f..10db213f5af 100644 --- a/libglusterfs/src/protocol.h +++ b/libglusterfs/src/protocol.h @@ -35,6 +35,11 @@ #include "byte-order.h" +/* Any changes in the protocol structure or adding new '[f,m]ops' needs to + * bump the protocol version by "0.1" + */ +/* Protocol version 1.0 was ASCII based dictionary protocol */ +#define GF_PROTOCOL_VERSION "2.0" struct gf_stat { uint64_t ino; -- cgit