diff options
author | Csaba Henk <csaba@redhat.com> | 2018-01-06 02:53:15 +0100 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2018-01-22 15:59:42 +0000 |
commit | 8efa3ee675a991410c6aa27dce40d4dd441d0935 (patch) | |
tree | ad70ab9a09a87148ada8093f62c6493f749cbc49 /xlators/performance/read-ahead | |
parent | 0c1eb282aad1a8b210b2f77efe57a3c35c4bee70 (diff) |
performance/read-ahead: volume option fixes for GD2
Updates #302
Change-Id: I842ab746502bc4ff3b312ee19f397a6177edc6f7
Signed-off-by: Csaba Henk <csaba@redhat.com>
Diffstat (limited to 'xlators/performance/read-ahead')
-rw-r--r-- | xlators/performance/read-ahead/src/read-ahead.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xlators/performance/read-ahead/src/read-ahead.c b/xlators/performance/read-ahead/src/read-ahead.c index 242b57971a0..a6c2a68b32e 100644 --- a/xlators/performance/read-ahead/src/read-ahead.c +++ b/xlators/performance/read-ahead/src/read-ahead.c @@ -1257,6 +1257,8 @@ struct xlator_dumpops dumpops = { struct volume_options options[] = { { .key = {"force-atime-update"}, .type = GF_OPTION_TYPE_BOOL, + .op_version = {1}, + .tags = {"read-ahead"}, .default_value = "false" }, { .key = {"page-count"}, @@ -1264,6 +1266,8 @@ struct volume_options options[] = { .min = 1, .max = 16, .default_value = "4", + .op_version = {1}, + .tags = {"read-ahead"}, .description = "Number of pages that will be pre-fetched" }, { .key = {"page-size"}, @@ -1271,6 +1275,9 @@ struct volume_options options[] = { .min = 4096, .max = 1048576 * 64, .default_value = "131072", + .op_version = {1}, + .flags = OPT_FLAG_SETTABLE | OPT_FLAG_DOC | OPT_FLAG_CLIENT_OPT, + .tags = {"read-ahead"}, .description = "Page size with which read-ahead performs server I/O" }, { .key = {NULL} }, |