From 7d81a49a0479b4b98a639b5e50ec2ea4fa8a1314 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Thu, 31 Aug 2017 15:23:56 +0530 Subject: stripe, quiesce: volume option fixes Updates: #302 Change-Id: I8f84260ba007f2afc7fe3b7c15c06069942ad6d1 Signed-off-by: Amar Tumballi --- xlators/cluster/stripe/src/stripe.c | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'xlators/cluster') diff --git a/xlators/cluster/stripe/src/stripe.c b/xlators/cluster/stripe/src/stripe.c index 0a3f716dd19..5a8bf1a9275 100644 --- a/xlators/cluster/stripe/src/stripe.c +++ b/xlators/cluster/stripe/src/stripe.c @@ -5756,18 +5756,27 @@ struct volume_options options[] = { .default_value = "128KB", .min = STRIPE_MIN_BLOCK_SIZE, .description = "Size of the stripe unit that would be read " - "from or written to the striped servers." + "from or written to the striped servers.", + .op_version = { 1 }, + .tags = { "stripe" }, + .flags = OPT_FLAG_CLIENT_OPT | OPT_FLAG_SETTABLE, }, { .key = {"use-xattr"}, .type = GF_OPTION_TYPE_BOOL, - .default_value = "true" + .default_value = "true", + .description = "handle the stripe without the xattr", + .tags = { "stripe", "dev-only" }, + .flags = OPT_FLAG_CLIENT_OPT, }, { .key = {"coalesce"}, .type = GF_OPTION_TYPE_BOOL, .default_value = "true", .description = "Enable/Disable coalesce mode to flatten striped " - "files as stored on the server (i.e., eliminate holes " - "caused by the traditional format)." + "files as stored on the server (i.e., eliminate holes " + "caused by the traditional format).", + .op_version = { 1 }, + .flags = OPT_FLAG_CLIENT_OPT | OPT_FLAG_SETTABLE, + .tags = { "stripe" }, }, { .key = {NULL} }, }; -- cgit