summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPoornima G <pgurusid@redhat.com>2017-08-31 15:49:51 +0530
committerAtin Mukherjee <amukherj@redhat.com>2017-11-29 04:23:50 +0000
commitcff6cf5e01a4c643e63dae5b45b2f4eb8239664f (patch)
tree155337731a5262e1bf8e59cb938fe8e6d80bae3b
parent2155f9926a749486f7e0a64bc6687886efa8171e (diff)
quick-read: redefine options
Updates: #302 Change-Id: If25996a080d69e9ac819ca771a5774ccdab6e1ce Signed-off-by: Poornima G <pgurusid@redhat.com>
-rw-r--r--xlators/performance/quick-read/src/quick-read.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/performance/quick-read/src/quick-read.c b/xlators/performance/quick-read/src/quick-read.c
index 92b2f8266ea..5afc7ec74ad 100644
--- a/xlators/performance/quick-read/src/quick-read.c
+++ b/xlators/performance/quick-read/src/quick-read.c
@@ -1149,6 +1149,8 @@ struct volume_options options[] = {
.min = 0,
.max = INFINITY,
.default_value = "128MB",
+ .op_version = {1},
+ .flags = OPT_FLAG_CLIENT_OPT | OPT_FLAG_SETTABLE | OPT_FLAG_DOC,
.description = "Size of the read cache."
},
{ .key = {"cache-timeout"},