diff options
Diffstat (limited to 'libglusterfs')
-rw-r--r-- | libglusterfs/src/globals.h | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/libglusterfs/src/globals.h b/libglusterfs/src/globals.h index 2e520c10e02..44568406abf 100644 --- a/libglusterfs/src/globals.h +++ b/libglusterfs/src/globals.h @@ -19,21 +19,30 @@ /* Gluster versions - OP-VERSION mapping * - * 3.3.0 - 1 - * 3.4.0 - 2 + * 3.3.x - 1 + * 3.4.x - 2 * 3.5.0 - 3 - * 3.next (3.6?) - 4 + * 3.5.1 - 30501 + * 3.6.0 - 30600 * * TODO: Change above comment once gluster version is finalised - * TODO: Finalize the op-version ranges + * + * Starting with Gluster v3.6, the op-version will be multi-digit integer values + * based on the Glusterfs version, instead of a simply incrementing integer + * value. The op-version for a given X.Y.Z release will be an integer XYZ, with + * Y and Z 2 digit always 2 digits wide and padded with 0 when needed. This + * should allow for some gaps between two Y releases for backports of features + * in Z releases. */ #define GD_OP_VERSION_MIN 1 /* MIN is the fresh start op-version, mostly should not change */ -#define GD_OP_VERSION_MAX 4 /* MAX VERSION is the maximum count in VME table, - should keep changing with introduction of newer - versions */ -#define GD_OP_VERSION_4 4 /* Op-Version 4 */ -#define GD_OP_VER_PERSISTENT_AFR_XATTRS GD_OP_VERSION_4 +#define GD_OP_VERSION_MAX 30600 /* MAX VERSION is the maximum count in VME + table, should keep changing with + introduction of newer versions */ + +#define GD_OP_VERSION_3_6_0 30600 /* Op-Version for GlusterFS 3.6.0 */ + +#define GD_OP_VER_PERSISTENT_AFR_XATTRS GD_OP_VERSION_3_6_0 #include "xlator.h" |