diff options
author | shishir gowda <shishirng@gluster.com> | 2011-03-16 03:35:46 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2011-03-16 02:35:34 -0700 |
commit | 10eafa32914f2458f3bb30073724758a95a82310 (patch) | |
tree | 3ef5b8f16b28451fafc66be01725fe2fd13f8054 /xlators/mgmt/glusterd/src/glusterd-op-sm.h | |
parent | 3d1fc9ebe2b0292108dd0737cf8f40d6fcb8cf51 (diff) |
TOP: glusterd/mgmt related changes
Signed-off-by: shishir gowda <shishirng@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 2516 (Implement gluster volume top command)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2516
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-op-sm.h')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-op-sm.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.h b/xlators/mgmt/glusterd/src/glusterd-op-sm.h index ff507abbac0..206418df845 100644 --- a/xlators/mgmt/glusterd/src/glusterd-op-sm.h +++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.h @@ -262,7 +262,7 @@ int32_t glusterd_op_bricks_select (glusterd_op_t op, dict_t *dict, char **op_errstr); int glusterd_brick_op_build_payload (glusterd_op_t op, glusterd_brickinfo_t *brickinfo, - gd1_mgmt_brick_op_req **req); + gd1_mgmt_brick_op_req **req, dict_t *dict); int32_t glusterd_handle_brick_rsp (glusterd_brickinfo_t *brickinfo, glusterd_op_t op, dict_t *rsp_dict, dict_t *ctx_dict, @@ -272,4 +272,10 @@ int32_t glusterd_op_init_ctx (glusterd_op_t op); int32_t glusterd_op_fini_ctx (glusterd_op_t op); +int32_t +glusterd_volume_stats_read_perf (char *brick_path, int32_t blk_size, + int32_t blk_count, double *throughput, double *time); +int32_t +glusterd_volume_stats_write_perf (char *brick_path, int32_t blk_size, + int32_t blk_count, double *throughput, double *time); #endif |