summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mgmt/glusterd')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volgen.c14
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volume-set.c10
2 files changed, 0 insertions, 24 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c
index de8a795df91..44b3e777490 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volgen.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c
@@ -4038,20 +4038,6 @@ client_graph_builder (volgen_graph_t *graph, glusterd_volinfo_t *volinfo,
}
}
-
- ret = dict_get_str_boolean (set_dict, "features.file-snapshot",
- _gf_false);
- if (ret == -1)
- goto out;
- if (ret) {
- xl = volgen_graph_add (graph, "features/qemu-block", volname);
-
- if (!xl) {
- ret = -1;
- goto out;
- }
- }
-
/* Do not allow changing read-after-open option if root-squash is
enabled.
*/
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
index cb7d5a59d4e..ecec57b4159 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
@@ -1792,16 +1792,6 @@ struct volopt_map_entry glusterd_volopt_map[] = {
},
/* Feature translators */
- { .key = "features.file-snapshot",
- .voltype = "features/qemu-block",
- .option = "!feat",
- .value = "off",
- .op_version = 3,
- .description = "enable/disable file-snapshot feature in the "
- "volume.",
- .flags = OPT_FLAG_CLIENT_OPT | OPT_FLAG_XLATOR_OPT
- },
-
{ .key = "features.uss",
.voltype = "features/snapview-server",
.op_version = GD_OP_VERSION_3_6_0,