diff options
author | Krutika Dhananjay <kdhananj@redhat.com> | 2017-05-26 15:56:59 +0530 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2017-06-15 19:18:05 +0000 |
commit | b9fb7ea63d6120faaeb75ffa0cafbc0ab0e4a619 (patch) | |
tree | 26b9da71e28d2db549b709fda71860e431924464 /xlators/mgmt | |
parent | 79efd0081fc5e24f6878d87a6dd8eb5253693d8f (diff) |
debug/io-stats: Provide option to select stats output format
... as opposed to hardcoding it to "json" always.
Change-Id: I5e79473a514373145ad764f24bb6219a6983a4c6
BUG: 1458197
Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
Reviewed-on: https://review.gluster.org/17451
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com>
Diffstat (limited to 'xlators/mgmt')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volume-set.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index 496b8db69f6..8d315d606ba 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -1573,6 +1573,11 @@ struct volopt_map_entry glusterd_volopt_map[] = { .option = "ios-sample-interval", .op_version = 1 }, + { .key = "diagnostics.stats-dump-format", + .voltype = "debug/io-stats", + .option = "ios-dump-format", + .op_version = GD_OP_VERSION_3_12_0, + }, { .key = "diagnostics.fop-sample-buf-size", .voltype = "debug/io-stats", .option = "ios-sample-buf-size", |