From 604ba9abf377ff56bb671478386d4ab977fdcd57 Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Mon, 9 Jun 2014 18:33:21 +0530 Subject: mgmt/glusterd: provide interface for configuring the entry point to snapshots Change-Id: Ibfd0e43db8e5f3f0f2ab6ec6bed88f71397c0bf4 BUG: 1107531 Signed-off-by: Raghavendra Bhat Reviewed-on: http://review.gluster.org/8025 Tested-by: Gluster Build System Reviewed-by: Kaushal M --- xlators/mgmt/glusterd/src/glusterd-volume-set.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'xlators/mgmt/glusterd/src/glusterd-volume-set.c') diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index f94c5bca40c..4421e4ddbf7 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -1097,13 +1097,21 @@ struct volopt_map_entry glusterd_volopt_map[] = { { .key = "features.uss", .voltype = "features/snapview-server", - .op_version = 4, - .value = "uss", + .op_version = GD_OP_VERSION_3_6_0, + .value = "off", .flags = OPT_FLAG_CLIENT_OPT | OPT_FLAG_XLATOR_OPT, .description = "Enable/Disable User Servicable Snapshots on the " "volume." }, + { .key = "features.snapshot-directory", + .voltype = "features/snapview-client", + .op_version = GD_OP_VERSION_3_6_0, + .value = ".snaps", + .flags = OPT_FLAG_CLIENT_OPT | OPT_FLAG_XLATOR_OPT, + .description = "Entry point directory for entering snapshot world" + }, + #ifdef HAVE_LIB_Z /* Compressor-decompressor xlator options * defaults used from xlator/features/compress/src/cdc.h -- cgit