summaryrefslogtreecommitdiffstats
path: root/xlators/features/marker/src/marker.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/marker/src/marker.c')
-rw-r--r--xlators/features/marker/src/marker.c31
1 files changed, 25 insertions, 6 deletions
diff --git a/xlators/features/marker/src/marker.c b/xlators/features/marker/src/marker.c
index 36cfb34f069..659ca890066 100644
--- a/xlators/features/marker/src/marker.c
+++ b/xlators/features/marker/src/marker.c
@@ -3526,12 +3526,31 @@ struct xlator_cbks cbks = {
};
struct volume_options options[] = {
- {.key = {"volume-uuid"}},
+ {.key = {"volume-uuid"},
+ .default_value = "{{ volume.id }}"},
{.key = {"timestamp-file"}},
- {.key = {"quota"}},
- {.key = {"inode-quota"} },
- {.key = {"xtime"}},
- {.key = {"gsync-force-xtime"}},
- {.key = {"quota-version"} },
+ {.key = {"quota"},
+ .op_version = {1},
+ .flags = OPT_FLAG_NONE,
+ .tags = {},
+ },
+ {.key = {"inode-quota"},
+ .op_version = {1},
+ .flags = OPT_FLAG_NONE,
+ .tags = {},
+ },
+ {.key = {"xtime"},
+ .op_version = {1},
+ .flags = OPT_FLAG_SETTABLE | OPT_FLAG_FORCE,
+ .tags = {},
+ },
+ {.key = {"gsync-force-xtime"},
+ .op_version = {2},
+ .flags = OPT_FLAG_SETTABLE | OPT_FLAG_FORCE,
+ .tags = {},
+ },
+ {.key = {"quota-version"},
+ .flags = OPT_FLAG_NONE,
+ },
{.key = {NULL}}
};