diff options
| -rw-r--r-- | libglusterfs/src/globals.h | 2 | ||||
| -rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volume-set.c | 12 | 
2 files changed, 14 insertions, 0 deletions
diff --git a/libglusterfs/src/globals.h b/libglusterfs/src/globals.h index cbf36a9a6ae..07fee5e957f 100644 --- a/libglusterfs/src/globals.h +++ b/libglusterfs/src/globals.h @@ -95,6 +95,8 @@  #define GD_OP_VERSION_3_13_0   31300 /* Op-version for GlusterFS 3.13.0 */ +#define GD_OP_VERSION_3_13_1   31301 /* Op-version for GlusterFS 3.13.1 */ +  #define GD_OP_VERSION_4_0_0    40000 /* Op-version for GlusterFS 4.0.0 */  #define GD_OP_VER_PERSISTENT_AFR_XATTRS GD_OP_VERSION_3_6_0 diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index 34c246ca03b..2e216159d03 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -1775,6 +1775,18 @@ struct volopt_map_entry glusterd_volopt_map[] = {            .op_version = 2,            .flags      = VOLOPT_FLAG_CLIENT_OPT          }, +        { .key        = "performance.write-behind-trickling-writes", +          .voltype    = "performance/write-behind", +          .option     = "trickling-writes", +          .op_version = GD_OP_VERSION_3_13_1, +          .flags      = OPT_FLAG_CLIENT_OPT +        }, +        { .key        = "performance.nfs.write-behind-trickling-writes", +          .voltype    = "performance/write-behind", +          .option     = "trickling-writes", +          .op_version = GD_OP_VERSION_3_13_1, +          .flags      = OPT_FLAG_CLIENT_OPT +        },          { .key        = "performance.lazy-open",            .voltype    = "performance/open-behind",            .option     = "lazy-open",  | 
