From 72e83f9b52b5ed4bbeed1cc1163dc8392ccf6b05 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/src') diff --git a/libglusterfs/src/protocol.h b/libglusterfs/src/protocol.h index 4bb379b2f9b..0f93a993aa0 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