<div dir="ltr"><div>Dear Gluster Devels,</div><div>i am using gluster 5.10 and want to introduce a new volume option. Therefore I want to set a proper GD_OP_VERSION for it. In gluster 5.10 source code there is no macro defined for 51000.</div><div><br></div><div>But concurrently the GD_OP_VERSION_MAX is set to 50400. I would do something like this:</div><div><br></div><div>1. Change in libglusterfs/src/globals-h (line 47)<br></div><div>#define GD_OP_VERSION_MAX                                                      \<br>    GD_OP_VERSION_5_10</div><div>2. Add line to same Header file:</div><div>#define GD_OP_VERSION_5_10 51000 /* Op-version for GlusterFS 5.10 */</div><div><br> </div><div>Do you think this is fine? <br></div><div><br></div><div>3. libglusterfs/src/common-utils.c (line 2036): <br></div><div>On the other side there is a if-branch which uses GD_OP_VERSION_5_4 which is currently the 
GD_OP_VERSION_MAX. Why it is used here and should I increase it also to 
GD_OP_VERSION_5_10?</div><div><br></div><div>Regards</div><div>David Spisla<br>

</div></div>