diff options
author | Vijay Bellur <vbellur@redhat.com> | 2013-02-24 23:45:19 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-02-26 11:17:40 -0800 |
commit | 990005435825bd4e66589d9a043951b388974ee3 (patch) | |
tree | d20ca6e67cdd3203c1e4ab06e46beff488084a99 | |
parent | 0c31e4515fc6c736d27cd9be8da3c95b1f33a21b (diff) |
mgmt/glusterd: Expose error-gen options through volume set.
Change-Id: I7c696d99b43544923fb96d177229cdbac32c09fe
BUG: 915280
Signed-off-by: Vijay Bellur <vbellur@redhat.com>
Reviewed-on: http://review.gluster.org/4577
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volume-set.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index 721f88cde73..c183a646098 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -853,6 +853,30 @@ struct volopt_map_entry glusterd_volopt_map[] = { .type = NO_DOC, .op_version = 1 }, + { .key = "debug.error-failure", + .voltype = "debug/error-gen", + .option = "failure", + .type = NO_DOC, + .op_version = 2 + }, + { .key = "debug.error-number", + .voltype = "debug/error-gen", + .option = "error-no", + .type = NO_DOC, + .op_version = 2 + }, + { .key = "debug.random-failure", + .voltype = "debug/error-gen", + .option = "random-failure", + .type = NO_DOC, + .op_version = 2 + }, + { .key = "debug.error-fops", + .voltype = "debug/error-gen", + .option = "enable", + .type = NO_DOC, + .op_version = 2 + }, /* NFS xlator options */ |