diff options
author | Raghavendra Bhat <raghavendra@redhat.com> | 2013-11-29 12:29:38 +0530 |
---|---|---|
committer | Raghavendra Bhat <raghavendra@redhat.com> | 2013-12-12 14:58:02 +0530 |
commit | 005b445d684f30e8611c9b2a374cdc798a6cdcbb (patch) | |
tree | d5a2f1893179e3b789aac58beed0e2495cee568f /xlators/mgmt/glusterd/src/glusterd-utils.h | |
parent | 112691a0d5a539b71c642228e197764248174f5d (diff) |
cli/glusterd: implement the snap and cg delete functionalities
Change-Id: Icdb66c89acdd043d0d6368c48ce2e01b1a40966f
Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.h')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-utils.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.h b/xlators/mgmt/glusterd/src/glusterd-utils.h index ca3c620aa..4c98559c9 100644 --- a/xlators/mgmt/glusterd/src/glusterd-utils.h +++ b/xlators/mgmt/glusterd/src/glusterd-utils.h @@ -292,6 +292,11 @@ glusterd_snap_brick_start (glusterd_volinfo_t *volinfo, glusterd_brickinfo_t *brickinfo, gf_boolean_t wait); int +glusterd_snap_brick_stop (glusterd_volinfo_t *volinfo, + glusterd_volinfo_t *snap_volinfo, + glusterd_brickinfo_t *brickinfo, + gf_boolean_t del_brick); +int glusterd_is_defrag_on (glusterd_volinfo_t *volinfo); int32_t @@ -374,6 +379,10 @@ int32_t glusterd_delete_brick (glusterd_volinfo_t* volinfo, glusterd_brickinfo_t *brickinfo); int32_t +glusterd_delete_snap_brick (glusterd_volinfo_t *volinfo, + glusterd_volinfo_t *snap_volinfo, + glusterd_brickinfo_t *brickinfo); +int32_t glusterd_delete_all_bricks (glusterd_volinfo_t* volinfo); int glusterd_spawn_daemons (void *opaque); |