diff options
author | Kaushal M <kaushal@redhat.com> | 2013-02-28 10:54:36 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-02-28 11:28:48 -0800 |
commit | 6788badddafd6c749136a6d1cbac030f031ada52 (patch) | |
tree | 68e06b0f1c3e4efc22dffb74e20de1be0d588ed1 /xlators | |
parent | da3f6576e4604a5bd7bff817886d561d856960e8 (diff) | |
download | glusterfs-6788badddafd6c749136a6d1cbac030f031ada52.tar.gz glusterfs-6788badddafd6c749136a6d1cbac030f031ada52.tar.xz glusterfs-6788badddafd6c749136a6d1cbac030f031ada52.zip |
glusterd: Fix some options in vme table
Some of the options had invalid '.flags' members. In the original table
these table these were supposed to be the op-versions, but, the entries
for the below options were missing the flags field the op-version was
entered in that place.
Change-Id: I408f5a972743eb37d9a58a809e8be8cb385bced8
BUG: 903478
Signed-off-by: Kaushal M <kaushal@redhat.com>
Reviewed-on: http://review.gluster.org/4593
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volume-set.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index d3249d3a16..a5efb55f8a 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -575,20 +575,17 @@ struct volopt_map_entry glusterd_volopt_map[] = { { .key = "performance.write-behind-window-size", .voltype = "performance/write-behind", .option = "cache-size", - .flags = 1, .op_version = 1 }, { .key = "performance.strict-o-direct", .voltype = "performance/write-behind", .option = "strict-O_DIRECT", - .flags = 2, - .op_version = 1 + .op_version = 2 }, { .key = "performance.strict-write-ordering", .voltype = "performance/write-behind", .option = "strict-write-ordering", - .flags = 2, - .op_version = 1 + .op_version = 2 }, { .key = "performance.lazy-open", .voltype = "performance/open-behind", @@ -598,7 +595,6 @@ struct volopt_map_entry glusterd_volopt_map[] = { { .key = "performance.read-ahead-page-count", .voltype = "performance/read-ahead", .option = "page-count", - .flags = 1, .op_version = 1 }, { .key = "performance.md-cache-timeout", @@ -822,7 +818,6 @@ struct volopt_map_entry glusterd_volopt_map[] = { .option = "deem-statfs", .value = "off", .type = DOC, - .flags = 0, .op_version = 2, .validate_fn = validate_quota }, |